Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 443.5 MB / 0.731 GB, free: 13.97 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.89 kB / 1.06 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3658, allocations: 160.7 MB / 1.217 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002859/0.3686, allocations: 1.444 MB / 1.218 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.3695, allocations: 395.5 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.3695, allocations: 3.938 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.3696, allocations: 3.938 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.3696, allocations: 3.984 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.3701, allocations: 115.6 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.3702, allocations: 23.94 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3703, allocations: 3.984 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.3704, allocations: 12 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.3704, allocations: 15.92 kB / 1.219 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.3704, allocations: 4 kB / 1.219 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.3708, allocations: 279.6 kB / 1.219 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.3709, allocations: 3.938 kB / 1.219 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.3709, allocations: 11.94 kB / 1.219 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.3711, allocations: 111.6 kB / 1.219 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3711, allocations: 0 / 1.219 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3711, allocations: 0 / 1.219 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3711, allocations: 0 / 1.219 GB, free: 13.09 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005901/0.3717, allocations: 371.1 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3718, allocations: 8.031 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.3718, allocations: 12.92 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.372, allocations: 160.4 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-06/0.372, allocations: 384 / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.372, allocations: 4.375 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.3722, allocations: 54.17 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3722, allocations: 192 / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3722, allocations: 3.938 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3722, allocations: 4 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.3724, allocations: 31.97 kB / 1.22 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.3728, allocations: 256.9 kB / 1.22 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.3729, allocations: 42.48 kB / 1.22 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.373, allocations: 32.78 kB / 1.22 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007434/0.3737, allocations: 453.5 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3737, allocations: 42.55 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.3738, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004019/0.3742, allocations: 77.66 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3742, allocations: 51.41 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.3743, allocations: 105.8 kB / 1.221 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3743, allocations: 25.7 kB / 1.221 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.3744, allocations: 84.27 kB / 1.221 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3744, allocations: 15.94 kB / 1.221 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.3744, allocations: 9.719 kB / 1.221 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3746, allocations: 310.8 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3747, allocations: 23.92 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3748, allocations: 19.91 kB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3749, allocations: 44.89 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3749, allocations: 0 / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002094/0.3751, allocations: 69.59 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3751, allocations: 4 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3752, allocations: 4 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.3752, allocations: 0 / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3753, allocations: 12.02 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3753, allocations: 0 / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.3753, allocations: 11.89 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3753, allocations: 0 / 1.221 GB, free: 10.47 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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.803e-05/0.3754, allocations: 121.7 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.3755, allocations: 3.984 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.3757, allocations: 77.19 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3757, allocations: 0 / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3757, allocations: 3.984 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3757, allocations: 0 / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.3759, allocations: 169.6 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3759, allocations: 0 / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.463e-05/0.376, allocations: 4 kB / 1.222 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.376, allocations: 4 kB / 1.222 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.376, allocations: 0 / 1.222 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.376, allocations: 0 / 1.222 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.376, allocations: 4.016 kB / 1.222 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.3763, allocations: 167.4 kB / 1.222 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.3763, allocations: 85.3 kB / 1.222 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3763, allocations: 4 kB / 1.222 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.3764, allocations: 8 kB / 1.222 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.3764, allocations: 4.016 kB / 1.222 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3764, allocations: 7.938 kB / 1.222 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.975e-05/0.3765, allocations: 83.28 kB / 1.222 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3765, allocations: 0 / 1.222 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002259/0.3767, allocations: 12 kB / 1.222 GB, free: 9.621 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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.0001947/0.3769, allocations: 115.2 kB / 1.222 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.3771, allocations: 35.91 kB / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3772, allocations: 8 kB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3773, allocations: 23.97 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.3776, allocations: 7.938 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.3779, allocations: 135.9 kB / 1.222 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3782, allocations: 0.6768 MB / 1.223 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.3783, allocations: 7.438 kB / 1.223 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.3783, allocations: 4.062 kB / 1.223 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of Templates: time 0.002418/0.3807, allocations: 0.6926 MB / 1.224 GB, free: 7.855 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches