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.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.001344/0.001344, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001499/0.001499, allocations: 192.6 kB / 22.17 MB, free: 5.656 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.548/1.548, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 71.88 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8611/0.8634, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002128/0.8656, allocations: 0.585 MB / 1.275 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008083/0.8664, allocations: 334.8 kB / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.8664, allocations: 0 / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.8664, allocations: 0 / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.8664, allocations: 0 / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.867, allocations: 117.1 kB / 1.275 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.237e-05/0.867, allocations: 3.938 kB / 1.275 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.8671, allocations: 4 kB / 1.275 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.464e-05/0.8671, allocations: 4 kB / 1.275 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.398e-05/0.8671, allocations: 0 / 1.275 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.8671, allocations: 0 / 1.275 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.8676, allocations: 279.6 kB / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.8676, allocations: 7.922 kB / 1.275 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.8676, allocations: 0 / 1.275 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.8679, allocations: 86.47 kB / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8679, allocations: 0 / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8679, allocations: 3.938 kB / 1.275 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.8679, allocations: 0 / 1.275 GB, free: 3.102 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004412/0.8683, allocations: 339.3 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8684, allocations: 12.03 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.8684, allocations: 0.9375 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.8686, allocations: 164.4 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.8686, allocations: 4.312 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.8686, allocations: 384 / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.8687, allocations: 34.27 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.8687, allocations: 192 / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.8687, allocations: 3.938 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8687, allocations: 4 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/0.8688, allocations: 0 / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.8689, allocations: 145.7 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.869, allocations: 22.5 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.869, allocations: 8.859 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000646/0.8697, allocations: 425.6 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.8697, allocations: 34.56 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.8697, allocations: 0 / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001685/0.8699, allocations: 41.58 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.8699, allocations: 51.41 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.895e-05/0.87, allocations: 89.86 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.87, allocations: 25.83 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.87, allocations: 84.14 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.8701, allocations: 0 / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.8701, allocations: 17.7 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8702, allocations: 314.8 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.8703, allocations: 0 / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-06/0.8703, allocations: 4 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.8703, allocations: 4.859 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8703, allocations: 4.062 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.149e-05/0.8704, allocations: 37.64 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.8704, allocations: 4 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.8704, allocations: 0 / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.8704, allocations: 11.92 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.376e-05/0.8704, allocations: 4 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8705, allocations: 0 / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-06/0.8705, allocations: 0 / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.8705, allocations: 3.938 kB / 1.277 GB, free: 0.9258 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 (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.619e-05/0.8706, allocations: 115.9 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.8706, allocations: 7.938 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.8707, allocations: 40.75 kB / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8707, allocations: 0 / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8707, allocations: 0 / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.8707, allocations: 0 / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.8708, allocations: 145.7 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.8708, allocations: 0 / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.8708, allocations: 3.938 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.8708, allocations: 4.031 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.8708, allocations: 7.938 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.8708, allocations: 7.984 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8708, allocations: 0 / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.886e-05/0.8709, allocations: 49.14 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.8709, allocations: 77.11 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.871, allocations: 7.938 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-06/0.871, allocations: 4.031 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.871, allocations: 3.984 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.871, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.222e-05/0.871, allocations: 79.28 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.871, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001908/0.8712, allocations: 11.94 kB / 1.278 GB, free: 280 kB / 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 (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.0002107/0.8714, allocations: 119.2 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.086e-05/0.8715, allocations: 7.938 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8715, allocations: 4.062 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.8715, allocations: 7.984 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.8716, allocations: 1.875 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.8719, allocations: 100.9 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.8722, allocations: 0.6729 MB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.499e-05/0.8723, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.8723, allocations: 7.438 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8723, allocations: 4.062 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of Templates: time 0.002935/0.8752, allocations: 469.9 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.8017199318856]