Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.119/3.119, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.8108 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.895e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001462/0.001481, allocations: 0.5436 MB / 0.8113 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004241/0.001905, allocations: 152 kB / 0.8114 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.001931, allocations: 2.219 kB / 0.8115 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.001945, allocations: 7.938 kB / 0.8115 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.002123, allocations: 8.797 kB / 0.8115 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.002225, allocations: 32.06 kB / 0.8115 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.002299, allocations: 25.8 kB / 0.8115 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.002349, allocations: 7.938 kB / 0.8115 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.002404, allocations: 15.97 kB / 0.8115 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.002865, allocations: 336.2 kB / 0.8119 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.002884, allocations: 5.344 kB / 0.8119 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.002942, allocations: 12 kB / 0.8119 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.002955, allocations: 4 kB / 0.8119 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.002976, allocations: 9.516 kB / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.003087, allocations: 43.88 kB / 0.8119 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003089, allocations: 0 / 0.8119 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003089, allocations: 0 / 0.8119 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.003093, allocations: 3.938 kB / 0.8119 GB, free: 0.8867 MB / 0.7605 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.0004076/0.003501, allocations: 376.6 kB / 0.8123 GB, free: 496 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.003534, allocations: 12.7 kB / 0.8123 GB, free: 484 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.003576, allocations: 4.938 kB / 0.8123 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.003703, allocations: 121 kB / 0.8124 GB, free: 332 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.003716, allocations: 6 kB / 0.8124 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.003727, allocations: 4.375 kB / 0.8124 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.00384, allocations: 42.25 kB / 0.8125 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.003848, allocations: 4.188 kB / 0.8125 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.003857, allocations: 4.125 kB / 0.8125 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.003861, allocations: 0.5312 kB / 0.8125 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/0.003912, allocations: 21.3 kB / 0.8125 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.004328, allocations: 271.8 kB / 0.8128 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.004391, allocations: 34.94 kB / 0.8128 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.004411, allocations: 8.844 kB / 0.8128 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.004417, allocations: 0 / 0.8128 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.004448, allocations: 41.45 kB / 0.8129 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.004449, allocations: 1.375 kB / 0.8129 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.0046, allocations: 41.64 kB / 0.8129 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.004647, allocations: 55.34 kB / 0.8129 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.004829, allocations: 202.1 kB / 0.8131 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.004848, allocations: 25.7 kB / 0.8132 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.004939, allocations: 142.8 kB / 0.8133 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/0.004947, allocations: 7.984 kB / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.005012, allocations: 28.94 kB / 0.8133 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002585/0.00527, allocations: 0.4884 MB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/0.005298, allocations: 8 kB / 0.8138 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.005324, allocations: 12.11 kB / 0.8138 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.005372, allocations: 24.66 kB / 0.8139 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.005376, allocations: 3.938 kB / 0.8139 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001244/0.0055, allocations: 65.64 kB / 0.8139 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.005512, allocations: 10.03 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.005517, allocations: 7.922 kB / 0.8139 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.005532, allocations: 4 kB / 0.8139 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.109e-05/0.005553, allocations: 3.984 kB / 0.8139 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.005556, allocations: 0 / 0.8139 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.005586, allocations: 10.19 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.005593, allocations: 0 / 0.814 GB, free: 14.64 MB / 0.7761 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 0.0001149/0.005708, allocations: 164.5 kB / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.005736, allocations: 3.953 kB / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.005757, allocations: 7.469 kB / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005758, allocations: 0 / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.005763, allocations: 4.484 kB / 0.8141 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.005765, allocations: 0.5312 kB / 0.8141 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005815/0.006346, allocations: 418.2 kB / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006347, allocations: 0 / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-06/0.006354, allocations: 4 kB / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.006355, allocations: 0 / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.00636, allocations: 0 / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006361, allocations: 0 / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006362, allocations: 2.188 kB / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.326e-05/0.006455, allocations: 76.33 kB / 0.8146 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-06/0.006464, allocations: 4 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.006477, allocations: 4.062 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.29e-05/0.00649, allocations: 0 / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.006515, allocations: 4.969 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.006519, allocations: 4 kB / 0.8146 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001048/0.006623, allocations: 147.2 kB / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006623, allocations: 0.6562 kB / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001954/0.006819, allocations: 11.98 kB / 0.8148 GB, free: 13.73 MB / 0.7761 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.0003152/0.007134, allocations: 126.8 kB / 0.8149 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.00724, allocations: 35.61 kB / 0.8149 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.007241, allocations: 0 / 0.8149 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.007255, allocations: 7.688 kB / 0.8149 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.007385, allocations: 12 kB / 0.8149 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.007626, allocations: 130.2 kB / 0.8151 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.718e-05/0.007693, allocations: 73.31 kB / 0.8151 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.007725, allocations: 12.11 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.007749, allocations: 12.5 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.007749, allocations: 0 / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.003112/0.01086, allocations: 0.5754 MB / 0.8157 GB, free: 12.72 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.014769518980756]