Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.193/1.193, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 188.3 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.078/1.078, allocations: 205.2 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 91.91 kB / 0.671 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.911e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1434, allocations: 106.3 MB / 0.8845 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4238/0.5673, allocations: 131.7 MB / 1.013 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.5675, allocations: 75.95 kB / 1.013 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003639/0.5711, allocations: 1.766 MB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.5712, allocations: 3.938 kB / 1.015 GB, free: 5.758 MB / 0.6355 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.0002586/0.5714, allocations: 341.9 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5715, allocations: 8.031 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.5715, allocations: 7.906 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.5717, allocations: 166.9 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.5717, allocations: 4 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.5717, allocations: 3.984 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.022e-05/0.5718, allocations: 15.75 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.006e-05/0.5718, allocations: 41.31 kB / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.5719, allocations: 0 / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.5719, allocations: 0 / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5719, allocations: 4 kB / 1.016 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.5723, allocations: 0.628 MB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.036e-05/0.5724, allocations: 18.52 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.5724, allocations: 8.922 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.5724, allocations: 0 / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.5725, allocations: 30.56 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.5725, allocations: 4 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.5726, allocations: 37.59 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.5726, allocations: 55.34 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.5727, allocations: 124.2 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.5727, allocations: 25.7 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.5728, allocations: 91.48 kB / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.5728, allocations: 0 / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.5728, allocations: 0 / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.5729, allocations: 325.8 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.5729, allocations: 7.938 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.5729, allocations: 7.312 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.5731, allocations: 27.91 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5731, allocations: 0 / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001741/0.5733, allocations: 76.44 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.5733, allocations: 4 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5733, allocations: 0 / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.5733, allocations: 0 / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.947e-05/0.5733, allocations: 4 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5733, allocations: 7.906 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.5734, allocations: 6.375 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.5734, allocations: 4.188 kB / 1.017 GB, free: 3.469 MB / 0.6355 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 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.5734, allocations: 112.9 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.5735, allocations: 7.906 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.5735, allocations: 14.78 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.5735, allocations: 0 / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5735, allocations: 0 / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5735, allocations: 3.938 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.5737, allocations: 343 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5738, allocations: 0 / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-06/0.5738, allocations: 0 / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5738, allocations: 4 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.5738, allocations: 0 / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.5738, allocations: 0 / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5738, allocations: 0 / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.66e-05/0.5739, allocations: 68.64 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.5739, allocations: 88.98 kB / 1.018 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.5739, allocations: 0 / 1.018 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.5739, allocations: 4 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.574, allocations: 3.984 kB / 1.018 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.574, allocations: 0 / 1.018 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.912e-05/0.574, allocations: 97.97 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001754/0.5742, allocations: 15.98 kB / 1.018 GB, free: 2.648 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002135/0.5744, allocations: 121.8 kB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.175e-05/0.5745, allocations: 15.06 kB / 1.018 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5745, allocations: 4 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/0.5745, allocations: 7.875 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.82e-05/0.5746, allocations: 13.62 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001599/0.5748, allocations: 63.72 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.575, allocations: 0.6958 MB / 1.019 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of SimCode: time 2e-07/0.575, allocations: 4 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of Templates: time 0.002118/0.5772, allocations: 0.6376 MB / 1.019 GB, free: 1.066 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches