Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005136/0.005141, allocations: 99.31 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 188.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 66.61 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2682, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001589/0.2698, allocations: 0.5347 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004177/0.2702, allocations: 152.4 kB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.2703, allocations: 0 / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.2703, allocations: 7.875 kB / 1.088 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.2705, allocations: 11.92 kB / 1.088 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.582e-05/0.2706, allocations: 23.92 kB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.2707, allocations: 23.91 kB / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.2707, allocations: 4 kB / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.2708, allocations: 7.938 kB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.2711, allocations: 331 kB / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2711, allocations: 4 kB / 1.088 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.183e-05/0.2712, allocations: 23.97 kB / 1.089 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.2712, allocations: 11.94 kB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.2712, allocations: 7.875 kB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.2714, allocations: 39.89 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2714, allocations: 0 / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2714, allocations: 0 / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2714, allocations: 0 / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003137/0.2717, allocations: 350.2 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2717, allocations: 12.03 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.2718, allocations: 34.75 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.2718, allocations: 0.9375 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2719, allocations: 177.1 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.272, allocations: 384 / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.272, allocations: 16.25 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.2721, allocations: 49.61 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2721, allocations: 4 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.2721, allocations: 3.984 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2721, allocations: 0 / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.711e-05/0.2722, allocations: 19.98 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.2725, allocations: 276.8 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/0.2726, allocations: 18.52 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.2726, allocations: 12.91 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.2726, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.2726, allocations: 34.56 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2727, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000154/0.2728, allocations: 33.7 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2728, allocations: 55.41 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.273, allocations: 137.7 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.273, allocations: 25.7 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.2731, allocations: 103.9 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.2731, allocations: 3.938 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.2731, allocations: 25.83 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2732, allocations: 322.8 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.2733, allocations: 12 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.2733, allocations: 11.98 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.2733, allocations: 16.86 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2733, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001127/0.2735, allocations: 65.59 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2735, allocations: 4 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2735, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2735, allocations: 3.984 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.289e-05/0.2735, allocations: 11.94 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2736, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.2736, allocations: 7.844 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2736, allocations: 4 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (cmp5,cmp4,cmp3,cmp2,cmp1,cmpAll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/0.2737, allocations: 109.8 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.2737, allocations: 4 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.2737, allocations: 11.52 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2737, allocations: 3.938 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2738, allocations: 0 / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2738, allocations: 7.938 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.274, allocations: 358.7 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.274, allocations: 3.984 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-06/0.2741, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2741, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2741, allocations: 4.125 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2741, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2741, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.577e-05/0.2742, allocations: 57.08 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.2742, allocations: 81.11 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2742, allocations: 11.92 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.219e-05/0.2742, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.2743, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.2743, allocations: 4 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.406e-05/0.2743, allocations: 98.08 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2743, allocations: 4.031 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002091/0.2746, allocations: 16 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmpAll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004785/0.275, allocations: 0.6292 MB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.435e-05/0.2752, allocations: 27.92 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2752, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.398e-06/0.2752, allocations: 3.938 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.2753, allocations: 11.94 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.2757, allocations: 146.7 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2759, allocations: 0.6846 MB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.2759, allocations: 12.03 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.276, allocations: 19.42 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.276, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.2926, allocations: 1.612 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.882, allocations: 9.812 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches