Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009347/0.0009347, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009221/0.0009221, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9119/0.9119, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.796/1.796, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.812 GB, free: 380 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.527e-05, allocations: 6.25 kB / 0.812 GB, free: 372 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001081/0.001097, allocations: 0.5449 MB / 0.8125 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003275/0.001424, allocations: 157.5 kB / 0.8126 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.001453, allocations: 0 / 0.8126 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.001469, allocations: 3.938 kB / 0.8126 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.001645, allocations: 14.03 kB / 0.8127 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 4.538e-05/0.00169, allocations: 28.45 kB / 0.8127 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.858e-05/0.001739, allocations: 32.45 kB / 0.8127 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.001773, allocations: 7.938 kB / 0.8127 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.403e-05/0.001807, allocations: 11.97 kB / 0.8127 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.002075, allocations: 329.8 kB / 0.813 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.002089, allocations: 4 kB / 0.8131 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.303e-05/0.002142, allocations: 15.98 kB / 0.8131 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.002153, allocations: 4 kB / 0.8131 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.255e-05/0.002166, allocations: 8.641 kB / 0.8131 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.002249, allocations: 43.81 kB / 0.8131 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002251, allocations: 0.7812 kB / 0.8131 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002252, allocations: 0 / 0.8131 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.002255, allocations: 1.25 kB / 0.8131 GB, free: 15.23 MB / 0.7292 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.0002361/0.002491, allocations: 376.1 kB / 0.8135 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.002525, allocations: 11.98 kB / 0.8135 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.002551, allocations: 4.938 kB / 0.8135 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.071e-05/0.002621, allocations: 129.9 kB / 0.8136 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.002631, allocations: 384 / 0.8136 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.002637, allocations: 4.375 kB / 0.8136 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.669e-05/0.002704, allocations: 42.97 kB / 0.8137 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.002711, allocations: 192 / 0.8137 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.002717, allocations: 5.031 kB / 0.8137 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.002722, allocations: 0 / 0.8137 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.002739, allocations: 11.98 kB / 0.8137 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.002967, allocations: 257.1 kB / 0.8139 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.039e-05/0.002998, allocations: 31 kB / 0.814 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.016e-05/0.003008, allocations: 12.19 kB / 0.814 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.003013, allocations: 1.25 kB / 0.814 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.003031, allocations: 37.45 kB / 0.814 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.003033, allocations: 3.984 kB / 0.814 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.912e-05/0.003122, allocations: 39.89 kB / 0.814 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.003146, allocations: 51.41 kB / 0.8141 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.003231, allocations: 204 kB / 0.8143 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.003238, allocations: 25.7 kB / 0.8143 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.003281, allocations: 142.8 kB / 0.8145 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-06/0.003286, allocations: 4.672 kB / 0.8145 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.003314, allocations: 31.34 kB / 0.8145 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.003416, allocations: 0.4899 MB / 0.815 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.003427, allocations: 8 kB / 0.815 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.003438, allocations: 4 kB / 0.815 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.003464, allocations: 23.78 kB / 0.815 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.003466, allocations: 5.062 kB / 0.815 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.898e-05/0.003535, allocations: 65.52 kB / 0.8151 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.003545, allocations: 9.562 kB / 0.8151 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.00355, allocations: 0.5938 kB / 0.8151 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.00356, allocations: 0 / 0.8151 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-05/0.003573, allocations: 0.5312 kB / 0.8151 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-06/0.003575, allocations: 4.5 kB / 0.8151 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.003591, allocations: 8.469 kB / 0.8151 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.003597, allocations: 3.984 kB / 0.8151 GB, free: 13.03 MB / 0.7292 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 (cmp1,cmp2,cmp3,cmp4,cmp5,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 5.25e-05/0.003649, allocations: 157.5 kB / 0.8152 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.003664, allocations: 11.89 kB / 0.8153 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.003687, allocations: 8.281 kB / 0.8153 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.003688, allocations: 0 / 0.8153 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.00369, allocations: 0.5312 kB / 0.8153 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.003692, allocations: 1.375 kB / 0.8153 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.003864, allocations: 396.9 kB / 0.8156 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.003865, allocations: 0 / 0.8156 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/0.003867, allocations: 0 / 0.8156 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.00387, allocations: 5.25 kB / 0.8156 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-06/0.003872, allocations: 0 / 0.8156 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.003873, allocations: 0 / 0.8156 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.003874, allocations: 0.6562 kB / 0.8156 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.639e-05/0.00392, allocations: 77.05 kB / 0.8157 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-06/0.003924, allocations: 0 / 0.8157 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.003932, allocations: 8.469 kB / 0.8157 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.00394, allocations: 4.062 kB / 0.8157 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.003951, allocations: 1.406 kB / 0.8157 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.003952, allocations: 0 / 0.8157 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.003999, allocations: 153.2 kB / 0.8159 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.003999, allocations: 0.7188 kB / 0.8159 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001272/0.004126, allocations: 12 kB / 0.8159 GB, free: 12.14 MB / 0.7292 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.0001819/0.004308, allocations: 121.4 kB / 0.816 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.661e-05/0.004365, allocations: 23.67 kB / 0.816 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.004366, allocations: 7.406 kB / 0.816 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-06/0.004372, allocations: 11.69 kB / 0.816 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.626e-05/0.004468, allocations: 14.06 kB / 0.8161 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001521/0.00462, allocations: 126.2 kB / 0.8162 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.405e-05/0.004645, allocations: 55.34 kB / 0.8162 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.004663, allocations: 12.12 kB / 0.8162 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.004694, allocations: 66.2 kB / 0.8163 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of SimCode: time 6.62e-07/0.004695, allocations: 0 / 0.8163 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of Templates: time 0.001835/0.00653, allocations: 0.6561 MB / 0.817 GB, free: 11.04 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.812584451865405]