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.032/2.032, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001418/0.001418, allocations: 179.8 kB / 487.4 MB, free: 5.066 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.315/1.315, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008365/0.0008365, allocations: 91.92 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.348e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2428, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.78/1.023, allocations: 148.3 MB / 1.351 GB, free: 18.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/1.023, allocations: 74.23 kB / 1.351 GB, free: 18.31 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004107/1.027, allocations: 2.1 MB / 1.353 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.027, allocations: 0 / 1.353 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.027, allocations: 0.8438 kB / 1.353 GB, free: 33.83 MB / 0.8386 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.0002488/1.028, allocations: 331.6 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.028, allocations: 7.688 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/1.028, allocations: 12.41 kB / 1.353 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/1.028, allocations: 163.6 kB / 1.353 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/1.028, allocations: 8.047 kB / 1.353 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/1.028, allocations: 0 / 1.353 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.414e-05/1.028, allocations: 23.59 kB / 1.353 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/1.028, allocations: 43.48 kB / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.028, allocations: 0 / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/1.028, allocations: 0 / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.028, allocations: 0 / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/1.028, allocations: 257.1 kB / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/1.028, allocations: 15.19 kB / 1.354 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/1.028, allocations: 11.89 kB / 1.354 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/1.028, allocations: 0 / 1.354 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/1.028, allocations: 35.16 kB / 1.354 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/1.028, allocations: 0 / 1.354 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001168/1.029, allocations: 38.11 kB / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/1.029, allocations: 52.16 kB / 1.354 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/1.029, allocations: 125.7 kB / 1.354 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/1.029, allocations: 25.7 kB / 1.354 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/1.029, allocations: 92.08 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/1.029, allocations: 7.812 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.029, allocations: 0 / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.029, allocations: 320.7 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/1.029, allocations: 5.281 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/1.029, allocations: 13.59 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/1.029, allocations: 22.53 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.029, allocations: 0 / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001872/1.029, allocations: 73.34 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.029, allocations: 5.797 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.029, allocations: 3.062 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/1.029, allocations: 0 / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.464e-05/1.029, allocations: 4.109 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/1.029, allocations: 3.391 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/1.029, allocations: 0 / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/1.029, allocations: 7.328 kB / 1.354 GB, free: 32.25 MB / 0.8386 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 7.195e-05/1.03, allocations: 110.7 kB / 1.355 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/1.03, allocations: 6.5 kB / 1.355 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/1.03, allocations: 10.77 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.03, allocations: 1.219 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.03, allocations: 0 / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/1.03, allocations: 0.7031 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/1.03, allocations: 348.3 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.03, allocations: 0 / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-06/1.03, allocations: 1.812 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/1.03, allocations: 0 / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/1.03, allocations: 2.031 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/1.03, allocations: 0 / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.03, allocations: 192 / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.932e-05/1.03, allocations: 62.95 kB / 1.355 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/1.03, allocations: 95.06 kB / 1.355 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/1.03, allocations: 0 / 1.355 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.257e-05/1.03, allocations: 2.109 kB / 1.355 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/1.03, allocations: 2.906 kB / 1.355 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/1.03, allocations: 0 / 1.355 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.181e-05/1.03, allocations: 105.3 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.03, allocations: 0 / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001902/1.03, allocations: 12.48 kB / 1.355 GB, free: 31.52 MB / 0.8386 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.0002375/1.031, allocations: 129 kB / 1.355 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.972e-05/1.031, allocations: 19.94 kB / 1.355 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.031, allocations: 0 / 1.355 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/1.031, allocations: 3.812 kB / 1.355 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.713e-05/1.031, allocations: 6.859 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001542/1.031, allocations: 74.55 kB / 1.355 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/1.031, allocations: 0.6908 MB / 1.356 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.88e-05/1.031, allocations: 8.766 kB / 1.356 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/1.031, allocations: 11.94 kB / 1.356 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.031, allocations: 0 / 1.356 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of Templates: time 0.00224/1.034, allocations: 0.5011 MB / 1.357 GB, free: 30.54 MB / 0.8386 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