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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 102.2 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8512/0.8526, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001535/0.8542, allocations: 0.5355 MB / 1.209 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004304/0.8546, allocations: 148.1 kB / 1.209 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.8547, allocations: 0 / 1.209 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.8547, allocations: 3.938 kB / 1.209 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.8549, allocations: 15.92 kB / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.317e-05/0.855, allocations: 19.92 kB / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.8551, allocations: 31.84 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.8551, allocations: 8 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.8552, allocations: 11.94 kB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.8555, allocations: 321.2 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.8556, allocations: 0 / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.654e-05/0.8556, allocations: 12 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.8556, allocations: 11.92 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.8557, allocations: 15.92 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.8558, allocations: 35.83 kB / 1.21 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8558, allocations: 4 kB / 1.21 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8558, allocations: 0 / 1.21 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8558, allocations: 7.938 kB / 1.21 GB, free: 12.65 MB / 0.9356 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.0003649/0.8562, allocations: 353.2 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.8562, allocations: 8.031 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.8563, allocations: 4.938 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.8564, allocations: 172.2 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.8564, allocations: 4.375 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.8564, allocations: 384 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.8566, allocations: 53.81 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.8566, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.8566, allocations: 7.984 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.8566, allocations: 0 / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.654e-05/0.8566, allocations: 16 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.857, allocations: 276.8 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.494e-05/0.857, allocations: 22.58 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.8571, allocations: 4.859 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.8571, allocations: 0 / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.8571, allocations: 34.56 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.8571, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.000141/0.8573, allocations: 37.7 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.8573, allocations: 55.34 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.8574, allocations: 148.2 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.8574, allocations: 29.7 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.8575, allocations: 92.05 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-06/0.8575, allocations: 4.125 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.8576, allocations: 29.61 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.8577, allocations: 322.8 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.8577, allocations: 7.984 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.8577, allocations: 12 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.8578, allocations: 20.84 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8578, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001022/0.8579, allocations: 65.81 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.8579, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8579, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.8579, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-05/0.8579, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.858, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.858, allocations: 7.906 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.858, allocations: 3.938 kB / 1.211 GB, free: 10.66 MB / 0.9356 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 (cmp5,cmp4,cmp3,cmp2,cmp1,cmpAll) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/0.8581, allocations: 125.7 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.8581, allocations: 0 / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.8581, allocations: 7.531 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.8581, allocations: 4 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.8582, allocations: 0 / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.8582, allocations: 0 / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.8584, allocations: 362.6 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8584, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-06/0.8584, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.8584, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.8584, allocations: 4 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.8585, allocations: 3.938 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.8585, allocations: 4.031 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.104e-05/0.8585, allocations: 65.03 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.8586, allocations: 81.02 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.8586, allocations: 3.938 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.8586, allocations: 3.938 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.8586, allocations: 11.92 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.8586, allocations: 0 / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.8587, allocations: 111.3 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8587, allocations: 0 / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002072/0.8589, allocations: 12 kB / 1.212 GB, free: 9.766 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.8592, allocations: 125.1 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.8593, allocations: 31.98 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8593, allocations: 0 / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.533e-06/0.8593, allocations: 0 / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.8594, allocations: 7.938 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.8596, allocations: 138.6 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.86, allocations: 0.6845 MB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.86, allocations: 11.44 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.86, allocations: 0 / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of Templates: time 0.002274/0.8623, allocations: 0.9523 MB / 1.214 GB, free: 7.77 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches