Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.0007993/0.0007993, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008112/0.0008112, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8929/0.8929, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.785/1.785, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.436e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001815/0.001839, allocations: 1.464 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005149/0.002354, allocations: 363.4 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.002384, allocations: 4 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.00241, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.002449, allocations: 7.875 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.002817, allocations: 107.6 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6e-05/0.002877, allocations: 23.92 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.002962, allocations: 4 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.00301, allocations: 23.97 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.003045, allocations: 11.92 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.00306, allocations: 4 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.003308, allocations: 259.6 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.003321, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.003339, allocations: 11.98 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.003527, allocations: 135.6 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003529, allocations: 4 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.122e-06/0.00353, allocations: 0 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003534, allocations: 0 / 1.003 GB, free: 10.58 MB / 0.9636 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.0003384/0.003872, allocations: 286.1 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.003908, allocations: 8.75 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.003954, allocations: 4.938 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.443e-05/0.004028, allocations: 109.7 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.004039, allocations: 8.375 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.004048, allocations: 4.312 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.004171, allocations: 50.23 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.004178, allocations: 192 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004186, allocations: 384 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.00419, allocations: 384 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.004278, allocations: 43.89 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.004525, allocations: 192.6 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.004605, allocations: 42.5 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.004648, allocations: 20.91 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.004957, allocations: 87.89 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.004974, allocations: 30.56 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.004976, allocations: 0 / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002351/0.005211, allocations: 89.67 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002805/0.005491, allocations: 51.41 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.563e-05/0.005547, allocations: 109.8 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.005557, allocations: 29.64 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.005592, allocations: 92.09 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.005607, allocations: 0 / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.005633, allocations: 21.66 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.005702, allocations: 310.8 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.322e-05/0.005745, allocations: 16.22 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.005783, allocations: 24.02 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/0.005861, allocations: 40.83 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.005863, allocations: 0 / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001142/0.005977, allocations: 73.61 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.005988, allocations: 4 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.005994, allocations: 4.031 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.006005, allocations: 4 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.532e-05/0.00606, allocations: 15.92 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.006064, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.006087, allocations: 7.984 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006091, allocations: 0 / 1.005 GB, free: 8.656 MB / 0.9636 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 4.877e-05/0.00614, allocations: 109.8 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.006159, allocations: 0 / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.006287, allocations: 81.22 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.006289, allocations: 0 / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.006293, allocations: 0 / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.006295, allocations: 0 / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.913e-05/0.006384, allocations: 113.3 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.006385, allocations: 0 / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.00641, allocations: 7.984 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006412, allocations: 0 / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.006418, allocations: 4 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.00642, allocations: 3.938 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00642, allocations: 7.969 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.006548, allocations: 163.5 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-06/0.006554, allocations: 4 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.006562, allocations: 0 / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.678e-05/0.006599, allocations: 11.92 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.006626, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.006629, allocations: 3.938 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.984e-05/0.006659, allocations: 91.27 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006659, allocations: 0 / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001592/0.006818, allocations: 19.97 kB / 1.006 GB, free: 7.98 MB / 0.9636 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.000125/0.006943, allocations: 103.2 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.007063, allocations: 39.89 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.007065, allocations: 0 / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.924e-05/0.007104, allocations: 19.98 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.007307, allocations: 14.12 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.007541, allocations: 138.6 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.936e-05/0.00758, allocations: 59.34 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.007601, allocations: 12.5 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.007602, allocations: 0 / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of Templates: time 0.00153/0.009131, allocations: 0.7268 MB / 1.007 GB, free: 6.82 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.65990221966058]