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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.211/2.211, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 182.7 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.2 MB / 0.7992 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008986, allocations: 108.7 kB / 0.9396 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 11.78 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3508, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.5546, allocations: 149.8 MB / 1.375 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5549, allocations: 71.95 kB / 1.376 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0044/0.5593, allocations: 2.117 MB / 1.378 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5594, allocations: 4 kB / 1.378 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.5594, allocations: 0 / 1.378 GB, free: 1.52 MB / 0.8698 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.0003533/0.5597, allocations: 335.3 kB / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5598, allocations: 12.03 kB / 1.378 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.5598, allocations: 3.906 kB / 1.378 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.56, allocations: 171 kB / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.56, allocations: 0 / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.56, allocations: 4 kB / 1.378 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.5602, allocations: 53.62 kB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.5602, allocations: 0 / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5602, allocations: 0 / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5602, allocations: 4 kB / 1.378 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.94e-05/0.5603, allocations: 15.98 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.5607, allocations: 276.8 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.449e-05/0.5607, allocations: 22.52 kB / 1.378 GB, free: 500 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.5608, allocations: 4 kB / 1.378 GB, free: 496 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.5608, allocations: 32.28 kB / 1.379 GB, free: 456 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 3.086e-06/0.5608, allocations: 0 / 1.379 GB, free: 456 kB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001554/0.561, allocations: 45.59 kB / 1.379 GB, free: 404 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.561, allocations: 51.41 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.5612, allocations: 128.9 kB / 1.379 GB, free: 204 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.5612, allocations: 25.7 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.5613, allocations: 100.2 kB / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-06/0.5613, allocations: 0 / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.5613, allocations: 4 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5614, allocations: 318.8 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.5615, allocations: 11.94 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.5615, allocations: 11.98 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.5615, allocations: 8 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5615, allocations: 0 / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001102/0.5617, allocations: 61.59 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5617, allocations: 8 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5617, allocations: 4 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5617, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-05/0.5617, allocations: 3.984 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.5618, allocations: 7.953 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.5618, allocations: 0 / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5618, allocations: 0 / 1.379 GB, free: 15.62 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.512e-05/0.5619, allocations: 122.4 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.5619, allocations: 4 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.562, allocations: 7.531 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.562, allocations: 4 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.562, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.562, allocations: 3.953 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.5623, allocations: 358.8 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5623, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-06/0.5623, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5624, allocations: 4 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.5624, allocations: 0 / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5624, allocations: 3.953 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5624, allocations: 8.016 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.37e-05/0.5625, allocations: 60.98 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.5625, allocations: 89 kB / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.5626, allocations: 4 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.287e-05/0.5626, allocations: 3.938 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.5626, allocations: 7.938 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.5626, allocations: 3.984 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.745e-05/0.5627, allocations: 109.4 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5627, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000204/0.5629, allocations: 12 kB / 1.38 GB, free: 14.73 MB / 0.8855 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 (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.0003091/0.5632, allocations: 130.5 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.932e-05/0.5633, allocations: 27.92 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5633, allocations: 0 / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.5633, allocations: 8 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.5635, allocations: 0 / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.5637, allocations: 111 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.564, allocations: 0.6888 MB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.68e-05/0.564, allocations: 16.12 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.5641, allocations: 7.438 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/0.5641, allocations: 0 / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.0026/0.5667, allocations: 0.5076 MB / 1.382 GB, free: 13.19 MB / 0.8855 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","../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches