Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001569/0.001569, allocations: 175 kB / 498.1 MB, free: 5.758 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.634/1.634, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001268/0.001268, allocations: 100.3 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 9.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2798, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.4703, allocations: 149 MB / 1.368 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.4706, allocations: 75.95 kB / 1.368 GB, free: 13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004161/0.4748, allocations: 2.126 MB / 1.371 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4748, allocations: 0 / 1.371 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.4748, allocations: 0 / 1.371 GB, free: 10.89 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.0003317/0.4752, allocations: 339.3 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4752, allocations: 8.031 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.4753, allocations: 7.906 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.4754, allocations: 167 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4754, allocations: 4 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4754, allocations: 4 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4756, allocations: 53.69 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4756, allocations: 3.938 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.4756, allocations: 0 / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4756, allocations: 0 / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.4757, allocations: 23.92 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.4761, allocations: 276.8 kB / 1.371 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.4761, allocations: 18.58 kB / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.4762, allocations: 8.062 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.4762, allocations: 30.56 kB / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 3.857e-06/0.4762, allocations: 0 / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.4763, allocations: 41.59 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.4764, allocations: 51.41 kB / 1.372 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.4765, allocations: 131.4 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.4765, allocations: 25.7 kB / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.4766, allocations: 96.17 kB / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/0.4766, allocations: 3.984 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.4766, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4768, allocations: 314.8 kB / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.4768, allocations: 12 kB / 1.372 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.4768, allocations: 7.984 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.4769, allocations: 12 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4769, allocations: 0 / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001136/0.477, allocations: 69.47 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.477, allocations: 9.094 kB / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.477, allocations: 0 / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.477, allocations: 0 / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.629e-05/0.4771, allocations: 7.984 kB / 1.372 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4771, allocations: 3.953 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.4771, allocations: 0 / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4771, allocations: 4 kB / 1.372 GB, free: 8.984 MB / 0.8698 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 8.66e-05/0.4772, allocations: 109.8 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.4773, allocations: 7.906 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.4773, allocations: 3.531 kB / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4773, allocations: 4 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4773, allocations: 4 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.4773, allocations: 7.938 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.4776, allocations: 358.7 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4776, allocations: 0 / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-06/0.4777, allocations: 0 / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4777, allocations: 4.125 kB / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.4777, allocations: 4 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.4777, allocations: 11.97 kB / 1.373 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4777, allocations: 0 / 1.373 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.411e-05/0.4778, allocations: 61.06 kB / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.4778, allocations: 93 kB / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.4779, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.4779, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.4779, allocations: 11.94 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.4779, allocations: 4.031 kB / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.351e-05/0.478, allocations: 99.27 kB / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.478, allocations: 0 / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000209/0.4782, allocations: 16 kB / 1.373 GB, free: 8.09 MB / 0.8698 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.0002979/0.4785, allocations: 125 kB / 1.373 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.4786, allocations: 23.94 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4787, allocations: 4 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.4787, allocations: 7.938 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.4788, allocations: 0.5625 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.4791, allocations: 115.6 kB / 1.373 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.4795, allocations: 0.6926 MB / 1.374 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.792e-05/0.4796, allocations: 12.12 kB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.4796, allocations: 11.44 kB / 1.374 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of SimCode: time 2.856e-06/0.4796, allocations: 0 / 1.374 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of Templates: time 0.003055/0.4827, allocations: 0.5055 MB / 1.374 GB, free: 6.547 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches