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.001195/0.001198, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.199/1.199, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.082/2.082, allocations: 390.3 MB / 0.6647 GB, free: 384 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4813, allocations: 140.4 MB / 0.9497 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001412/0.4827, allocations: 0.5254 MB / 0.9502 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002959/0.483, allocations: 146.5 kB / 0.9504 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.483, allocations: 0 / 0.9504 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.4831, allocations: 0 / 0.9504 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.4832, allocations: 18.61 kB / 0.9504 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.332e-05/0.4833, allocations: 20.23 kB / 0.9504 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.231e-05/0.4833, allocations: 26.86 kB / 0.9504 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.4834, allocations: 6.734 kB / 0.9504 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.4834, allocations: 17.44 kB / 0.9504 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.4837, allocations: 314.4 kB / 0.9507 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.4837, allocations: 1.562 kB / 0.9507 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.4837, allocations: 9.219 kB / 0.9508 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.4837, allocations: 6.688 kB / 0.9508 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.4838, allocations: 14.61 kB / 0.9508 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.83e-05/0.4839, allocations: 43.92 kB / 0.9508 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4839, allocations: 3.984 kB / 0.9508 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4839, allocations: 0 / 0.9508 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.4839, allocations: 13.06 kB / 0.9508 GB, free: 8.254 MB / 0.7169 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.0002082/0.4841, allocations: 350 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.4841, allocations: 9.688 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.986e-05/0.4842, allocations: 32.25 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.366e-05/0.4842, allocations: 7.094 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.206e-05/0.4842, allocations: 171.2 kB / 0.9514 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.4843, allocations: 5.875 kB / 0.9514 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.4843, allocations: 2.312 kB / 0.9514 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.4844, allocations: 51.52 kB / 0.9514 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.4844, allocations: 4 kB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.4844, allocations: 1.344 kB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4844, allocations: 0 / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.4844, allocations: 22.34 kB / 0.9515 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.4847, allocations: 270.7 kB / 0.9517 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.743e-05/0.4847, allocations: 16.98 kB / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.188e-05/0.4847, allocations: 6.141 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-06/0.4847, allocations: 5.062 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.4848, allocations: 31.81 kB / 0.9518 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4848, allocations: 0 / 0.9518 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001032/0.4849, allocations: 48.38 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.407e-05/0.4849, allocations: 51.41 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.485, allocations: 143 kB / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-06/0.485, allocations: 31.11 kB / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.485, allocations: 94.52 kB / 0.9521 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.485, allocations: 5.375 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.4851, allocations: 25.23 kB / 0.9522 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.289e-05/0.4851, allocations: 325.2 kB / 0.9525 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.4851, allocations: 9.719 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.4851, allocations: 5.5 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.902e-05/0.4852, allocations: 25.81 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4852, allocations: 0 / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.497e-05/0.4853, allocations: 66.72 kB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.4853, allocations: 9.562 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.4853, allocations: 0 / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.4853, allocations: 1.375 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.58e-05/0.4853, allocations: 1.312 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.4853, allocations: 0 / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.4854, allocations: 10.56 kB / 0.9526 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-06/0.4854, allocations: 9.5 kB / 0.9526 GB, free: 6.391 MB / 0.7169 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 3.594e-05/0.4854, allocations: 115.8 kB / 0.9527 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.4854, allocations: 10.47 kB / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.4855, allocations: 13.38 kB / 0.9527 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.4855, allocations: 0 / 0.9527 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.4855, allocations: 2 kB / 0.9527 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4855, allocations: 3.938 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.4856, allocations: 353.9 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4856, allocations: 0 / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-06/0.4857, allocations: 1.188 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.4857, allocations: 0 / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.4857, allocations: 3.938 kB / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4857, allocations: 5.5 kB / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4857, allocations: 0 / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.058e-05/0.4857, allocations: 64.31 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.4857, allocations: 82.3 kB / 0.9532 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.4858, allocations: 5.344 kB / 0.9532 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.4858, allocations: 0 / 0.9532 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.4858, allocations: 1.312 kB / 0.9532 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.4858, allocations: 5.219 kB / 0.9532 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.4858, allocations: 109.5 kB / 0.9533 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4858, allocations: 1.312 kB / 0.9533 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001811/0.486, allocations: 12.28 kB / 0.9534 GB, free: 5.562 MB / 0.7169 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.0002661/0.4863, allocations: 0.6329 MB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.533e-05/0.4864, allocations: 25.98 kB / 0.954 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.4864, allocations: 0 / 0.954 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.583e-06/0.4864, allocations: 1.531 kB / 0.954 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.4865, allocations: 6.5 kB / 0.954 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.4868, allocations: 151.2 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.207e-05/0.4868, allocations: 0.6848 MB / 0.9548 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.4869, allocations: 8.141 kB / 0.9548 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.4869, allocations: 12.91 kB / 0.9548 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.4869, allocations: 3.938 kB / 0.9548 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1901/0.677, allocations: 1.558 MB / 0.9564 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/8.01, allocations: 6.984 kB / 0.9564 GB, free: 3.145 MB / 0.7169 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