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.0008007/0.0008007, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001935, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001459/0.001459, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.003125, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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 0.9444/0.9444, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08601/1.03, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.831/1.831, allocations: 378.3 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4609/2.292, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.303e-06/1.303e-06, allocations: 0 / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.321e-05, allocations: 3 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001953/0.001976, allocations: 0.5919 MB / 0.7302 GB, free: 3.871 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003505/0.002326, allocations: 167.6 kB / 0.7304 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.00235, allocations: 0 / 0.7304 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.002361, allocations: 3.938 kB / 0.7304 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.002462, allocations: 11.41 kB / 0.7304 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.435e-05/0.002537, allocations: 27.84 kB / 0.7304 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.002612, allocations: 25.89 kB / 0.7304 GB, free: 3.648 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.002656, allocations: 8 kB / 0.7304 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.002731, allocations: 22.38 kB / 0.7305 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.003078, allocations: 326.2 kB / 0.7308 GB, free: 3.336 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.003097, allocations: 4.875 kB / 0.7308 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-05/0.003185, allocations: 12.5 kB / 0.7308 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.003209, allocations: 6.984 kB / 0.7308 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.00323, allocations: 6.297 kB / 0.7308 GB, free: 3.312 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.003354, allocations: 42.34 kB / 0.7308 GB, free: 3.273 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.003368, allocations: 0 / 0.7308 GB, free: 3.273 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003368, allocations: 1.391 kB / 0.7308 GB, free: 3.273 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.003382, allocations: 4.719 kB / 0.7308 GB, free: 3.27 MB / 0.698 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.0003356/0.003718, allocations: 256.5 kB / 0.7311 GB, free: 2.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.003755, allocations: 8.656 kB / 0.7311 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.003792, allocations: 9.484 kB / 0.7311 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.003898, allocations: 110.6 kB / 0.7312 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.003911, allocations: 4.375 kB / 0.7312 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.003924, allocations: 1.188 kB / 0.7312 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.004025, allocations: 50.23 kB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.004032, allocations: 2.469 kB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.004041, allocations: 4.125 kB / 0.7313 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.004048, allocations: 4 kB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.004071, allocations: 7.938 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.004336, allocations: 172.8 kB / 0.7314 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.093e-05/0.004377, allocations: 20.08 kB / 0.7315 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.004389, allocations: 4.859 kB / 0.7315 GB, free: 2.555 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.004397, allocations: 3.938 kB / 0.7315 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.004423, allocations: 35.2 kB / 0.7315 GB, free: 2.508 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.004424, allocations: 1.094 kB / 0.7315 GB, free: 2.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001064/0.00453, allocations: 37.64 kB / 0.7315 GB, free: 2.465 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.004561, allocations: 51.91 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.004667, allocations: 136.2 kB / 0.7317 GB, free: 2.258 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.004679, allocations: 29.7 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.004728, allocations: 101 kB / 0.7318 GB, free: 2.121 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-06/0.004733, allocations: 0 / 0.7318 GB, free: 2.121 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.004776, allocations: 29.64 kB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.004869, allocations: 316.4 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.004884, allocations: 4 kB / 0.7322 GB, free: 1.766 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.004901, allocations: 11.98 kB / 0.7322 GB, free: 1.754 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.004946, allocations: 28.77 kB / 0.7322 GB, free: 1.723 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.004949, allocations: 0.6562 kB / 0.7322 GB, free: 1.723 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.168e-05/0.00503, allocations: 50.39 kB / 0.7323 GB, free: 1.668 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.005048, allocations: 5.312 kB / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.005057, allocations: 0 / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.00507, allocations: 0 / 0.7323 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.688e-05/0.005097, allocations: 9.578 kB / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.0051, allocations: 0 / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.005129, allocations: 8 kB / 0.7323 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.005138, allocations: 0.9844 kB / 0.7323 GB, free: 1.648 MB / 0.698 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 (cmp1,cmp2,cmp3,cmp4,cmp5,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.045e-05/0.005198, allocations: 107.4 kB / 0.7324 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.005225, allocations: 11.88 kB / 0.7324 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.005248, allocations: 15.44 kB / 0.7324 GB, free: 1.508 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.005253, allocations: 8 kB / 0.7324 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005255, allocations: 0.6562 kB / 0.7324 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.005257, allocations: 1.125 kB / 0.7324 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.005484, allocations: 262.9 kB / 0.7327 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.005486, allocations: 0 / 0.7327 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-06/0.005491, allocations: 2.062 kB / 0.7327 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.005502, allocations: 11.94 kB / 0.7327 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.005504, allocations: 1.25 kB / 0.7327 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-06/0.005507, allocations: 0 / 0.7327 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.00551, allocations: 4 kB / 0.7327 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.005512, allocations: 0 / 0.7327 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.145e-05/0.005573, allocations: 65.86 kB / 0.7328 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.005585, allocations: 4.516 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.005597, allocations: 0 / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.005613, allocations: 1.031 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.005615, allocations: 0.6562 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.005651, allocations: 35.86 kB / 0.7328 GB, free: 1.078 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.005651, allocations: 0.9062 kB / 0.7328 GB, free: 1.078 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001822/0.005833, allocations: 8 kB / 0.7328 GB, free: 1.07 MB / 0.698 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.0003197/0.006153, allocations: 116.3 kB / 0.7329 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.247e-05/0.006226, allocations: 21.55 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.006232, allocations: 0 / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.387e-05/0.006246, allocations: 13.59 kB / 0.733 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.37e-05/0.00633, allocations: 21.77 kB / 0.733 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.006544, allocations: 124.5 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.39e-05/0.006577, allocations: 55.34 kB / 0.7331 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.006608, allocations: 8.188 kB / 0.7332 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.006645, allocations: 51.38 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of SimCode: time 6.92e-07/0.006646, allocations: 1.344 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of Templates: time 0.002732/0.009378, allocations: 0.6688 MB / 0.7339 GB, free: 4 kB / 0.698 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.735249784775078]