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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001241/0.001241, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.001371/0.001371, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 461.7 MB / 0.7352 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 63.89 kB / 1.054 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9572/0.9587, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.00207/0.9608, allocations: 0.5343 MB / 1.209 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005084/0.9614, allocations: 159.2 kB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.9614, allocations: 4 kB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.9615, allocations: 3.938 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.9617, allocations: 7.938 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.324e-05/0.9618, allocations: 23.92 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.9619, allocations: 31.84 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.962, allocations: 4 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.028e-05/0.962, allocations: 11.92 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.9624, allocations: 310.2 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.9624, allocations: 0 / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.21e-05/0.9625, allocations: 20 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.9625, allocations: 3.938 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.9626, allocations: 15.92 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.9627, allocations: 39.83 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9627, allocations: 0 / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9627, allocations: 0 / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.9627, allocations: 0 / 1.209 GB, free: 12.54 MB / 0.9356 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.0003948/0.9631, allocations: 359.2 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.9632, allocations: 8.031 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.9632, allocations: 8.875 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.9634, allocations: 166.1 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9634, allocations: 4.375 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.9634, allocations: 8.359 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.9636, allocations: 53.75 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.9636, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.9636, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.9636, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.488e-05/0.9637, allocations: 19.98 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.9641, allocations: 268.8 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.081e-05/0.9641, allocations: 26.56 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.9641, allocations: 8.844 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.9641, allocations: 0 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.9642, allocations: 38.5 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.9642, allocations: 0 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001594/0.9643, allocations: 33.77 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.9644, allocations: 55.34 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.9645, allocations: 143.9 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.9646, allocations: 29.7 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.9646, allocations: 96.03 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.9646, allocations: 4 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.9647, allocations: 29.61 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9648, allocations: 318.8 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.9648, allocations: 11.98 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.9649, allocations: 15.94 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.9649, allocations: 20.98 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.9649, allocations: 4 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001159/0.965, allocations: 53.69 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.9651, allocations: 7.984 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.9651, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.9651, allocations: 4 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-05/0.9651, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.9651, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.9652, allocations: 15.84 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.9652, allocations: 0 / 1.211 GB, free: 10.54 MB / 0.9356 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.507e-05/0.9653, allocations: 121.7 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.9653, allocations: 0 / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.9654, allocations: 15.52 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.9654, allocations: 3.938 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9654, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.9654, allocations: 81.02 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.9654, allocations: 3.938 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.9655, allocations: 0 / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.9655, allocations: 4 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.803e-05/0.9656, allocations: 113 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001196/0.9657, allocations: 206.8 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.611e-05/0.9657, allocations: 3.938 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.523e-05/0.9658, allocations: 109.9 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of Backend: time 3.9e-07/0.9658, allocations: 0 / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005112/0.9663, allocations: 122.8 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0003985/0.9667, allocations: 0.572 MB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of Templates: time 0.003185/0.9699, allocations: 0.7291 MB / 1.213 GB, free: 8.379 MB / 0.9356 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=480 -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