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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 106.9 kB / 16.41 MB, free: 6.512 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.001541/0.001542, allocations: 187 kB / 17.34 MB, free: 5.742 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.075, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001744/1.077, allocations: 0.534 MB / 1.089 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004329/1.078, allocations: 149.5 kB / 1.089 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/1.078, allocations: 4.969 kB / 1.089 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/1.078, allocations: 3.938 kB / 1.089 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002355/1.078, allocations: 7.891 kB / 1.089 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.926e-05/1.078, allocations: 24.03 kB / 1.089 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.573e-05/1.078, allocations: 22.5 kB / 1.089 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/1.078, allocations: 7.719 kB / 1.089 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/1.078, allocations: 14.52 kB / 1.089 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/1.079, allocations: 302.6 kB / 1.09 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/1.079, allocations: 2.156 kB / 1.09 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.887e-05/1.079, allocations: 22.11 kB / 1.09 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/1.079, allocations: 7.797 kB / 1.09 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/1.079, allocations: 15.67 kB / 1.09 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/1.079, allocations: 35.17 kB / 1.09 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.079, allocations: 1.062 kB / 1.09 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/1.079, allocations: 0 / 1.09 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.079, allocations: 0 / 1.09 GB, free: 5.145 MB / 0.8575 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.0003335/1.079, allocations: 353 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.079, allocations: 13.3 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/1.079, allocations: 2.938 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/1.08, allocations: 174.3 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/1.08, allocations: 1.188 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/1.08, allocations: 6.25 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/1.08, allocations: 54.55 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/1.08, allocations: 0 / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/1.08, allocations: 0.7969 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.08, allocations: 1.406 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/1.08, allocations: 15.94 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/1.08, allocations: 284.8 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.685e-05/1.08, allocations: 18.62 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/1.08, allocations: 5.922 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/1.08, allocations: 3.938 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/1.08, allocations: 31.97 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/1.08, allocations: 0.9688 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/1.08, allocations: 38.25 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/1.08, allocations: 59.47 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/1.081, allocations: 144.4 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-06/1.081, allocations: 25.7 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/1.081, allocations: 92.31 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-06/1.081, allocations: 1.922 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/1.081, allocations: 25.48 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.551e-05/1.081, allocations: 321.8 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/1.081, allocations: 10.88 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/1.081, allocations: 16.48 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.95e-05/1.081, allocations: 18.58 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.081, allocations: 0 / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001528/1.081, allocations: 63.69 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.081, allocations: 5.469 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.081, allocations: 0.75 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.081, allocations: 9.047 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.758e-05/1.081, allocations: 2.219 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/1.081, allocations: 1.344 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/1.081, allocations: 9.703 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/1.081, allocations: 10.7 kB / 1.091 GB, free: 3.375 MB / 0.8575 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 6.153e-05/1.081, allocations: 120.9 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/1.081, allocations: 5.906 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/1.081, allocations: 6.391 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.081, allocations: 1.219 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.081, allocations: 0 / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.081, allocations: 1.312 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/1.082, allocations: 365.4 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.082, allocations: 0.5625 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/1.082, allocations: 0 / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/1.082, allocations: 1.094 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/1.082, allocations: 0.5625 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.082, allocations: 8.938 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.082, allocations: 0 / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.708e-05/1.082, allocations: 62.75 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/1.082, allocations: 82.69 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/1.082, allocations: 1.891 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/1.082, allocations: 3.938 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/1.082, allocations: 3.438 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-06/1.082, allocations: 0 / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.129e-05/1.082, allocations: 106.3 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.082, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000201/1.082, allocations: 14.67 kB / 1.092 GB, free: 2.578 MB / 0.8575 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.0002586/1.082, allocations: 124.2 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001001/1.083, allocations: 23.86 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.083, allocations: 0 / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.814e-06/1.083, allocations: 2.766 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/1.083, allocations: 6.375 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/1.083, allocations: 137.1 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/1.083, allocations: 0.6852 MB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/1.083, allocations: 16 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of SimCode: time 1.8e-07/1.083, allocations: 0 / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of Templates: time 0.003072/1.086, allocations: 0.9623 MB / 1.094 GB, free: 1.512 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches