Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001822/0.001822, allocations: 104.2 kB / 16.45 MB, free: 6.5 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.002083/0.002083, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.436/1.436, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.133/3.133, allocations: 0.4899 GB / 0.7915 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 74.62 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3604, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001952/0.3623, allocations: 0.598 MB / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000719/0.3631, allocations: 327.2 kB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.3631, allocations: 0 / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.3631, allocations: 0 / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.3631, allocations: 0 / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.3636, allocations: 107.7 kB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.3636, allocations: 7.984 kB / 1.322 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.3636, allocations: 0 / 1.322 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.3e-05/0.3637, allocations: 4 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.369e-05/0.3637, allocations: 3.984 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3637, allocations: 0 / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.3641, allocations: 271.7 kB / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.3641, allocations: 0 / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.3642, allocations: 0 / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.3644, allocations: 91.66 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3644, allocations: 8 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3644, allocations: 0 / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.3644, allocations: 3.938 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004339/0.3648, allocations: 331.3 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3648, allocations: 15.98 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.3649, allocations: 0.9375 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.365, allocations: 164.4 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.365, allocations: 384 / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.365, allocations: 4.359 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.857e-05/0.3651, allocations: 34.27 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3651, allocations: 192 / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3652, allocations: 3.938 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3652, allocations: 0 / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.3652, allocations: 0 / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.3653, allocations: 157.6 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.3654, allocations: 18.52 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.3654, allocations: 4.859 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/0.3661, allocations: 429.6 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3661, allocations: 30.56 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3661, allocations: 4 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.3663, allocations: 41.58 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3663, allocations: 55.53 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.18e-05/0.3664, allocations: 89.86 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3664, allocations: 25.7 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.3664, allocations: 84.08 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.3665, allocations: 3.953 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.3665, allocations: 17.66 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3666, allocations: 310.8 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.3666, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.976e-06/0.3667, allocations: 8 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.3667, allocations: 8.859 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3667, allocations: 0 / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.245e-05/0.3668, allocations: 37.64 kB / 1.324 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3668, allocations: 7.984 kB / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3668, allocations: 0 / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3668, allocations: 3.938 kB / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.3669, allocations: 4 kB / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3669, allocations: 0 / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.3669, allocations: 8.094 kB / 1.324 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.3669, allocations: 0 / 1.324 GB, free: 15.2 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.665e-05/0.367, allocations: 109.8 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.367, allocations: 0 / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.9e-05/0.3671, allocations: 44.75 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3671, allocations: 0 / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3671, allocations: 0 / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3671, allocations: 0 / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.3672, allocations: 149.7 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3672, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.3672, allocations: 3.938 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3672, allocations: 3.984 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3672, allocations: 3.938 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.3672, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3672, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.06e-05/0.3673, allocations: 57.14 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.3674, allocations: 77.11 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.3674, allocations: 11.92 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.662e-06/0.3674, allocations: 3.938 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.3674, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.3674, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.3674, allocations: 75.28 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3674, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002407/0.3677, allocations: 11.94 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001846/0.3679, allocations: 115.2 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.3679, allocations: 19.92 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3679, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.916e-06/0.368, allocations: 4 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.3681, allocations: 1.547 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001871/0.3683, allocations: 72.94 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3686, allocations: 0.6767 MB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.3687, allocations: 12.09 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.3687, allocations: 7.438 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3687, allocations: 0 / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of Templates: time 0.002665/0.3713, allocations: 452.4 kB / 1.326 GB, free: 13.14 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.676528938114643]