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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 184 kB / 326.5 MB, free: 2.25 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.766/1.766, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0007954/0.0007953, allocations: 95.73 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003982, allocations: 6.969 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.379, allocations: 131.4 MB / 1.028 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.3793, allocations: 71.97 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0041/0.3834, allocations: 2.121 MB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3835, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.3835, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 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.0003291/0.3838, allocations: 345.1 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3839, allocations: 8.031 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.3839, allocations: 8 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3841, allocations: 178.9 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3841, allocations: 4 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.3841, allocations: 0 / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3843, allocations: 45.69 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3843, allocations: 0 / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3843, allocations: 0 / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3843, allocations: 0 / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.3844, allocations: 19.98 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.3847, allocations: 280.9 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.371e-05/0.3848, allocations: 18.58 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.3848, allocations: 0 / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.3848, allocations: 30.56 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 2.204e-06/0.3849, allocations: 7.922 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001497/0.385, allocations: 45.61 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3851, allocations: 55.36 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3852, allocations: 128.2 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3852, allocations: 25.7 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.3853, allocations: 103.9 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.84e-06/0.3853, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.3853, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3854, allocations: 323.5 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.3855, allocations: 4 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.3855, allocations: 11.98 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.3855, allocations: 12 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3855, allocations: 0 / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001037/0.3856, allocations: 57.69 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3857, allocations: 4 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3857, allocations: 0 / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.3857, allocations: 7.938 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.691e-05/0.3857, allocations: 3.984 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3857, allocations: 3.938 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.3858, allocations: 7.953 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3858, allocations: 4 kB / 1.032 GB, free: 8.242 MB / 0.6823 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 7.742e-05/0.3859, allocations: 109.8 kB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.3859, allocations: 7.906 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.386, allocations: 7.531 kB / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.386, allocations: 4.188 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.386, allocations: 4 kB / 1.032 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.386, allocations: 3.984 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.3863, allocations: 358.7 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3863, allocations: 0 / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-06/0.3863, allocations: 4.031 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3863, allocations: 0 / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.3863, allocations: 0 / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3863, allocations: 3.984 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3863, allocations: 3.953 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.886e-05/0.3864, allocations: 61.05 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.3865, allocations: 85.09 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3865, allocations: 3.938 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/0.3865, allocations: 4.031 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.3866, allocations: 7.984 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3866, allocations: 3.953 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.157e-05/0.3866, allocations: 99.27 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3867, allocations: 7.938 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000206/0.3869, allocations: 16 kB / 1.033 GB, free: 7.355 MB / 0.6823 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.0002991/0.3872, allocations: 124.5 kB / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.569e-05/0.3873, allocations: 20 kB / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3873, allocations: 0 / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.702e-06/0.3873, allocations: 0 / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.611e-05/0.3874, allocations: 4 kB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.3876, allocations: 122.7 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.3879, allocations: 0.6925 MB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.976e-05/0.388, allocations: 8.125 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.388, allocations: 11.44 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.388, allocations: 0 / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of Templates: time 0.002375/0.3904, allocations: 0.5133 MB / 1.034 GB, free: 5.816 MB / 0.6823 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