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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437 MB / 0.7177 GB, free: 4.484 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.89 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 151.6 MB / 1.176 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003097/0.36, allocations: 1.439 MB / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008429/0.3609, allocations: 383.5 kB / 1.178 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.361, allocations: 4 kB / 1.178 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.361, allocations: 3.984 kB / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.3611, allocations: 3.938 kB / 1.178 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.3617, allocations: 119.3 kB / 1.178 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.83e-05/0.3618, allocations: 23.92 kB / 1.178 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.3619, allocations: 4 kB / 1.178 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.3619, allocations: 15.88 kB / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.362, allocations: 11.97 kB / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.362, allocations: 4 kB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004739/0.3625, allocations: 283.6 kB / 1.178 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.3625, allocations: 8 kB / 1.178 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.3626, allocations: 11.94 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3628, allocations: 107.6 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3628, allocations: 3.938 kB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3628, allocations: 0 / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3629, allocations: 0 / 1.178 GB, free: 3.449 MB / 0.92 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.0006193/0.3635, allocations: 371.1 kB / 1.179 GB, free: 3.035 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3635, allocations: 8.031 kB / 1.179 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.3636, allocations: 4.938 kB / 1.179 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3638, allocations: 168.4 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.3638, allocations: 384 / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3638, allocations: 4.375 kB / 1.179 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.364, allocations: 50.23 kB / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.364, allocations: 192 / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3641, allocations: 3.938 kB / 1.179 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3641, allocations: 0 / 1.179 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.3643, allocations: 43.95 kB / 1.179 GB, free: 2.715 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.3647, allocations: 248.9 kB / 1.179 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.3648, allocations: 42.48 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/0.3649, allocations: 28.91 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007798/0.3657, allocations: 461.5 kB / 1.18 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3658, allocations: 30.56 kB / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.3658, allocations: 0 / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004234/0.3662, allocations: 89.58 kB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3662, allocations: 55.34 kB / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3664, allocations: 101.9 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3664, allocations: 25.7 kB / 1.18 GB, free: 1.457 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.3665, allocations: 92.12 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.3665, allocations: 7.891 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.3666, allocations: 13.84 kB / 1.18 GB, free: 1.336 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3667, allocations: 318.8 kB / 1.18 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/0.3668, allocations: 15.97 kB / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.3669, allocations: 15.98 kB / 1.18 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3671, allocations: 36.83 kB / 1.18 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3671, allocations: 4.062 kB / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002682/0.3674, allocations: 77.53 kB / 1.18 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3674, allocations: 8 kB / 1.18 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3674, allocations: 0 / 1.18 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.3674, allocations: 4.188 kB / 1.18 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.3675, allocations: 7.984 kB / 1.18 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3676, allocations: 8 kB / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.3676, allocations: 3.984 kB / 1.18 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3676, allocations: 11.98 kB / 1.18 GB, free: 0.8164 MB / 0.92 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 9.052e-05/0.3677, allocations: 109.8 kB / 1.181 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.3678, allocations: 4 kB / 1.181 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.3681, allocations: 73.12 kB / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3681, allocations: 7.984 kB / 1.181 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3681, allocations: 0 / 1.181 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3681, allocations: 4.031 kB / 1.181 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.3683, allocations: 161.6 kB / 1.181 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3683, allocations: 0 / 1.181 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.3684, allocations: 11.98 kB / 1.181 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3684, allocations: 0 / 1.181 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3684, allocations: 0 / 1.181 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3684, allocations: 0 / 1.181 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3684, allocations: 0 / 1.181 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.3687, allocations: 167.5 kB / 1.181 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/0.3688, allocations: 85.06 kB / 1.181 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.3688, allocations: 3.938 kB / 1.181 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3689, allocations: 7.984 kB / 1.181 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.3689, allocations: 7.938 kB / 1.181 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.3689, allocations: 0 / 1.181 GB, free: 84 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.369, allocations: 83.28 kB / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.369, allocations: 32 / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of remove unused functions: time 0.0002425/0.3693, allocations: 20.03 kB / 1.181 GB, free: 15.98 MB / 0.9356 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.0002156/0.3695, allocations: 111.2 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.3698, allocations: 39.95 kB / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3698, allocations: 0 / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.3699, allocations: 19.98 kB / 1.181 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3702, allocations: 8.062 kB / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.3705, allocations: 135.1 kB / 1.181 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3709, allocations: 0.6768 MB / 1.182 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.3709, allocations: 7.438 kB / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.3709, allocations: 0 / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of Templates: time 0.002571/0.3735, allocations: 0.7195 MB / 1.183 GB, free: 14.21 MB / 0.9356 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_2/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 [Calling sys.exit(0), Time elapsed: 10.23273941304069]