Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 104.3 kB / 16.27 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.001765/0.001765, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.503/1.503, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.08/3.08, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 71.97 kB / 0.9245 GB, free: 24 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9545/0.9568, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001837/0.9587, allocations: 0.5318 MB / 1.083 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004144/0.9591, allocations: 146.9 kB / 1.084 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.9592, allocations: 5.219 kB / 1.084 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.9592, allocations: 3.938 kB / 1.084 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.9594, allocations: 6.953 kB / 1.084 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.063e-05/0.9595, allocations: 28.19 kB / 1.084 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.99e-05/0.9596, allocations: 22.69 kB / 1.084 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.964e-05/0.9596, allocations: 10.91 kB / 1.084 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.9597, allocations: 11.08 kB / 1.084 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.9601, allocations: 320.5 kB / 1.084 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.9601, allocations: 1.5 kB / 1.084 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.9602, allocations: 17.2 kB / 1.084 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.9602, allocations: 6.812 kB / 1.084 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.9602, allocations: 16.5 kB / 1.084 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.9603, allocations: 35.08 kB / 1.084 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9603, allocations: 1.125 kB / 1.084 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9604, allocations: 0 / 1.084 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.9604, allocations: 4 kB / 1.084 GB, free: 1.012 MB / 0.8262 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.0002883/0.9607, allocations: 356.4 kB / 1.084 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.9607, allocations: 9.562 kB / 1.084 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.9607, allocations: 4.516 kB / 1.084 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.9608, allocations: 173 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.9609, allocations: 5.5 kB / 1.085 GB, free: 440 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.9609, allocations: 5.531 kB / 1.085 GB, free: 436 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.961, allocations: 59.61 kB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.961, allocations: 4.656 kB / 1.085 GB, free: 384 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.961, allocations: 0 / 1.085 GB, free: 384 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.961, allocations: 1.031 kB / 1.085 GB, free: 384 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/0.9611, allocations: 19.72 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.9614, allocations: 273.8 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.784e-05/0.9615, allocations: 21.36 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.9615, allocations: 6.078 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.9615, allocations: 5.188 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.9615, allocations: 31.22 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.9615, allocations: 1.531 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.9617, allocations: 36.75 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.9617, allocations: 52.31 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.9619, allocations: 143.8 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.9619, allocations: 26.45 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.962, allocations: 92.45 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.962, allocations: 5.672 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.962, allocations: 30.05 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9622, allocations: 325.5 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.9622, allocations: 11.14 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.9623, allocations: 7.969 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.9623, allocations: 22.86 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.9623, allocations: 0 / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001186/0.9625, allocations: 59.14 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9625, allocations: 9 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.9625, allocations: 1.922 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.9625, allocations: 0 / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.5e-05/0.9625, allocations: 6.875 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.9625, allocations: 0.6562 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.9626, allocations: 9.969 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.9626, allocations: 10.42 kB / 1.086 GB, free: 15.24 MB / 0.8419 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 8.606e-05/0.9627, allocations: 108.4 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.9627, allocations: 3.156 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.9628, allocations: 14.83 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.9628, allocations: 3.938 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9628, allocations: 1.656 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.9628, allocations: 0 / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.9631, allocations: 361.5 kB / 1.086 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9632, allocations: 0 / 1.086 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-06/0.9632, allocations: 5.203 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9632, allocations: 1.031 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.9632, allocations: 0 / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.9632, allocations: 9.156 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9632, allocations: 0 / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.229e-05/0.9633, allocations: 64.2 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.9633, allocations: 77.77 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.9634, allocations: 2.141 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.9634, allocations: 3.938 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.9634, allocations: 2.281 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.9634, allocations: 5.531 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.119e-05/0.9635, allocations: 103 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9635, allocations: 0 / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001988/0.9637, allocations: 10.02 kB / 1.087 GB, free: 14.45 MB / 0.8419 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.0002996/0.964, allocations: 132.3 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.9641, allocations: 28.2 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9641, allocations: 0 / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.9642, allocations: 2.281 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.9643, allocations: 12.72 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.9646, allocations: 132.8 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.9649, allocations: 0.6865 MB / 1.087 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.965, allocations: 10.75 kB / 1.087 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.965, allocations: 0 / 1.087 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.003032/0.968, allocations: 0.9561 MB / 1.088 GB, free: 13.39 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches