Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001386/0.001386, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001576/0.001576, allocations: 214 kB / 22.25 MB, free: 4.855 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_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_11_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.002267/0.002267, allocations: 67.84 kB / 1.117 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3664, allocations: 169.9 MB / 1.283 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00199/0.3684, allocations: 0.5952 MB / 1.284 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.3692, allocations: 295.4 kB / 1.284 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.3693, allocations: 0 / 1.284 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.3693, allocations: 0 / 1.284 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-06/0.3693, allocations: 0 / 1.284 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.3698, allocations: 111.6 kB / 1.284 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.637e-05/0.3698, allocations: 0 / 1.284 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.3699, allocations: 8 kB / 1.284 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.3699, allocations: 0 / 1.284 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.608e-05/0.3699, allocations: 0 / 1.284 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.3699, allocations: 0 / 1.284 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.3704, allocations: 259.6 kB / 1.284 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.3704, allocations: 0 / 1.284 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.3704, allocations: 0 / 1.284 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.3706, allocations: 95.67 kB / 1.284 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3706, allocations: 0 / 1.284 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3706, allocations: 0 / 1.284 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.3706, allocations: 7.922 kB / 1.284 GB, free: 2.352 MB / 0.9825 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.0004031/0.371, allocations: 258.2 kB / 1.285 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3711, allocations: 12.02 kB / 1.285 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.3712, allocations: 0.9375 kB / 1.285 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3713, allocations: 106.5 kB / 1.285 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3713, allocations: 4.312 kB / 1.285 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.3713, allocations: 384 / 1.285 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.3714, allocations: 26.27 kB / 1.285 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3714, allocations: 8.188 kB / 1.285 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3714, allocations: 3.938 kB / 1.285 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3714, allocations: 0 / 1.285 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.3714, allocations: 0 / 1.285 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.3716, allocations: 101.3 kB / 1.285 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.412e-05/0.3716, allocations: 22.5 kB / 1.285 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.3717, allocations: 4.859 kB / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/0.372, allocations: 44.06 kB / 1.285 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3721, allocations: 30.56 kB / 1.285 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3721, allocations: 0 / 1.285 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000207/0.3723, allocations: 41.62 kB / 1.285 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3723, allocations: 51.41 kB / 1.285 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.3724, allocations: 93.86 kB / 1.285 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3724, allocations: 25.7 kB / 1.285 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.3725, allocations: 80.14 kB / 1.285 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.3725, allocations: 3.953 kB / 1.285 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.3726, allocations: 21.78 kB / 1.285 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3727, allocations: 310.8 kB / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.3727, allocations: 3.938 kB / 1.286 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-06/0.3727, allocations: 4 kB / 1.286 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.3728, allocations: 12.86 kB / 1.286 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3728, allocations: 0 / 1.286 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.018e-05/0.3728, allocations: 33.69 kB / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3729, allocations: 4 kB / 1.286 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3729, allocations: 0 / 1.286 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3729, allocations: 8.094 kB / 1.286 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.3729, allocations: 3.938 kB / 1.286 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3729, allocations: 0 / 1.286 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.373, allocations: 4 kB / 1.286 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.373, allocations: 3.938 kB / 1.286 GB, free: 0.875 MB / 0.9825 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 8.389e-05/0.373, allocations: 109.8 kB / 1.286 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.3731, allocations: 0 / 1.286 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.433e-05/0.3732, allocations: 44.67 kB / 1.286 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3732, allocations: 7.922 kB / 1.286 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3732, allocations: 11.97 kB / 1.286 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3732, allocations: 0 / 1.286 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.873e-05/0.3733, allocations: 97.31 kB / 1.286 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3733, allocations: 3.984 kB / 1.286 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.3733, allocations: 4 kB / 1.286 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3733, allocations: 0 / 1.286 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.3733, allocations: 0 / 1.286 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3733, allocations: 0 / 1.286 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3733, allocations: 3.938 kB / 1.286 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.866e-05/0.3734, allocations: 65.08 kB / 1.286 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.3734, allocations: 8.016 kB / 1.286 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.3734, allocations: 0 / 1.286 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.3734, allocations: 4 kB / 1.286 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.3734, allocations: 3.938 kB / 1.286 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.3734, allocations: 0 / 1.286 GB, free: 468 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.3735, allocations: 75.28 kB / 1.286 GB, free: 392 kB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3735, allocations: 0 / 1.286 GB, free: 392 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001968/0.3737, allocations: 11.94 kB / 1.286 GB, free: 380 kB / 0.9825 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.0002124/0.3739, allocations: 111.2 kB / 1.286 GB, free: 256 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.27e-05/0.374, allocations: 8 kB / 1.286 GB, free: 248 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.374, allocations: 3.938 kB / 1.286 GB, free: 244 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.374, allocations: 8 kB / 1.286 GB, free: 236 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.3741, allocations: 1.891 kB / 1.286 GB, free: 236 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.3744, allocations: 80.88 kB / 1.286 GB, free: 128 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.008e-05/0.3744, allocations: 55.34 kB / 1.286 GB, free: 52 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.959e-05/0.3745, allocations: 4 kB / 1.286 GB, free: 48 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.3745, allocations: 7.438 kB / 1.286 GB, free: 40 kB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3745, allocations: 0 / 1.286 GB, free: 40 kB / 0.9825 GB Notification: Performance of Templates: time 0.002994/0.3775, allocations: 453.8 kB / 1.287 GB, free: 15.6 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.91575949266553]