Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001878/0.001878, allocations: 80.92 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002282/0.002282, allocations: 162.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.655/2.655, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.072e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001501/0.001532, allocations: 0.5429 MB / 0.9515 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004404/0.001972, allocations: 152 kB / 0.9516 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.001999, allocations: 0 / 0.9516 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.002015, allocations: 7.938 kB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.00223, allocations: 7.938 kB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.651e-05/0.002296, allocations: 19.97 kB / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.332e-05/0.002369, allocations: 27.86 kB / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.002416, allocations: 0 / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.276e-05/0.002459, allocations: 19.97 kB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.002875, allocations: 334.6 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.00289, allocations: 0 / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.002946, allocations: 15.94 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.002962, allocations: 15.97 kB / 0.952 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.002982, allocations: 7.938 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.003083, allocations: 39.88 kB / 0.9521 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003086, allocations: 0 / 0.9521 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003087, allocations: 0 / 0.9521 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.00309, allocations: 0 / 0.9521 GB, free: 10.46 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.0003387/0.003429, allocations: 274.1 kB / 0.9523 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.003472, allocations: 19.88 kB / 0.9524 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.003502, allocations: 4.891 kB / 0.9524 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.00361, allocations: 113.7 kB / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.003625, allocations: 4.375 kB / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.003639, allocations: 4.375 kB / 0.9525 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.003782, allocations: 54.23 kB / 0.9525 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.00379, allocations: 192 / 0.9525 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.003804, allocations: 4.125 kB / 0.9525 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.003807, allocations: 3.938 kB / 0.9525 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.003858, allocations: 16 kB / 0.9526 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.004174, allocations: 212.6 kB / 0.9528 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.129e-05/0.004225, allocations: 26.52 kB / 0.9528 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.004245, allocations: 8.844 kB / 0.9528 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-06/0.00425, allocations: 0 / 0.9528 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.00428, allocations: 46.61 kB / 0.9528 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.004281, allocations: 7.938 kB / 0.9528 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.004416, allocations: 33.66 kB / 0.9529 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.004457, allocations: 55.41 kB / 0.9529 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.004608, allocations: 143.7 kB / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.004624, allocations: 25.7 kB / 0.9531 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.004685, allocations: 92.08 kB / 0.9532 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.004694, allocations: 8 kB / 0.9532 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.004738, allocations: 29.61 kB / 0.9532 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.004869, allocations: 314.8 kB / 0.9535 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.004898, allocations: 12.12 kB / 0.9535 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.004922, allocations: 15.98 kB / 0.9535 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.078e-05/0.004963, allocations: 16.8 kB / 0.9536 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.004966, allocations: 3.938 kB / 0.9536 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001176/0.005084, allocations: 61.69 kB / 0.9536 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.005097, allocations: 4 kB / 0.9536 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.005101, allocations: 0 / 0.9536 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.005113, allocations: 0 / 0.9536 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.412e-05/0.005137, allocations: 11.92 kB / 0.9536 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.005143, allocations: 3.984 kB / 0.9536 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.00517, allocations: 7.953 kB / 0.9536 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.005179, allocations: 8 kB / 0.9537 GB, free: 8.676 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 8.089e-05/0.00526, allocations: 117.7 kB / 0.9538 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.005288, allocations: 4 kB / 0.9538 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.005308, allocations: 11.47 kB / 0.9538 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.005312, allocations: 3.984 kB / 0.9538 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.005315, allocations: 0 / 0.9538 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-06/0.005317, allocations: 0 / 0.9538 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.005584, allocations: 310.3 kB / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005585, allocations: 0 / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.005589, allocations: 0 / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.00559, allocations: 4.219 kB / 0.9541 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.005601, allocations: 8 kB / 0.9541 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.005602, allocations: 0 / 0.9541 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005603, allocations: 0 / 0.9541 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.724e-05/0.00568, allocations: 69 kB / 0.9542 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.005688, allocations: 3.953 kB / 0.9542 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.005702, allocations: 4 kB / 0.9542 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/0.005715, allocations: 0 / 0.9542 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.005747, allocations: 0 / 0.9542 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.005749, allocations: 0 / 0.9542 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.007e-05/0.005829, allocations: 108.8 kB / 0.9543 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.005829, allocations: 4.031 kB / 0.9543 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002081/0.006037, allocations: 8 kB / 0.9543 GB, free: 7.965 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.0002806/0.006318, allocations: 127.4 kB / 0.9544 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.542e-05/0.006413, allocations: 27.86 kB / 0.9544 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.00642, allocations: 0 / 0.9544 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.00643, allocations: 8 kB / 0.9544 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.006573, allocations: 4 kB / 0.9544 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.006802, allocations: 113 kB / 0.9545 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.42e-05/0.006856, allocations: 65.34 kB / 0.9546 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.006886, allocations: 12.06 kB / 0.9546 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.006911, allocations: 16.48 kB / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.006911, allocations: 0 / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of Templates: time 0.003074/0.009985, allocations: 0.5687 MB / 0.9552 GB, free: 6.992 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.568615574389696]