Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001392/0.001392, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001659/0.001659, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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 1.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.872/2.872, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.386e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001744/0.001778, allocations: 0.5953 MB / 0.8114 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007105/0.002488, allocations: 290.4 kB / 0.8117 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.477e-05/0.002503, allocations: 0 / 0.8117 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.04e-05/0.002514, allocations: 0 / 0.8117 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.002519, allocations: 0.6562 kB / 0.8117 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.003, allocations: 112.4 kB / 0.8118 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.61e-05/0.003036, allocations: 0.7812 kB / 0.8118 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.003069, allocations: 3.984 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.003092, allocations: 9.609 kB / 0.8118 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.812e-05/0.00312, allocations: 4 kB / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.00313, allocations: 0 / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.003583, allocations: 255.6 kB / 0.8121 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.003598, allocations: 5.531 kB / 0.8121 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.003619, allocations: 0 / 0.8121 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.003868, allocations: 111.7 kB / 0.8122 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00387, allocations: 0 / 0.8122 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003871, allocations: 5.031 kB / 0.8122 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.003876, allocations: 0 / 0.8122 GB, free: 0.7031 MB / 0.7605 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.0003638/0.004239, allocations: 258.2 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.004276, allocations: 8.531 kB / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.004358, allocations: 10.47 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.004461, allocations: 101.8 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.004472, allocations: 384 / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-06/0.004478, allocations: 384 / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.089e-05/0.004569, allocations: 38.97 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.004578, allocations: 192 / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.004587, allocations: 0.9062 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.004592, allocations: 384 / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.004616, allocations: 5.562 kB / 0.8126 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.004755, allocations: 97.33 kB / 0.8127 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.561e-05/0.004811, allocations: 18.52 kB / 0.8127 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.004832, allocations: 8.953 kB / 0.8127 GB, free: 68 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/0.00522, allocations: 53.83 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.005277, allocations: 35.47 kB / 0.8128 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.005278, allocations: 0 / 0.8128 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.005459, allocations: 35.08 kB / 0.8128 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.005507, allocations: 55.34 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.144e-05/0.005568, allocations: 89.86 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.005588, allocations: 27.45 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.005635, allocations: 80.14 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.005659, allocations: 0 / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.005708, allocations: 21.7 kB / 0.8131 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.00589, allocations: 314.8 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.005902, allocations: 2.219 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.00591, allocations: 4 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.005945, allocations: 4.859 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005946, allocations: 0 / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.161e-05/0.006028, allocations: 40.7 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.006042, allocations: 4 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.006047, allocations: 0 / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.006068, allocations: 4 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.006112, allocations: 3.984 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.006116, allocations: 0 / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.006131, allocations: 7.922 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006135, allocations: 0 / 0.8135 GB, free: 15.24 MB / 0.7761 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 9.548e-05/0.006231, allocations: 115.2 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.006255, allocations: 3.953 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.006359, allocations: 45.3 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006361, allocations: 0 / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006364, allocations: 0.5625 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.006366, allocations: 0.7812 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.697e-05/0.006463, allocations: 101.3 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006464, allocations: 1.156 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.00648, allocations: 4 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006482, allocations: 0 / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.00649, allocations: 10.44 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006491, allocations: 0 / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006492, allocations: 3.938 kB / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.006603, allocations: 61.06 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.006607, allocations: 0 / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.006617, allocations: 4 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-06/0.006624, allocations: 0 / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.006636, allocations: 0.5312 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.006638, allocations: 0.8125 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.006682, allocations: 75.28 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006682, allocations: 0.9375 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002212/0.006904, allocations: 19.98 kB / 0.8139 GB, free: 14.75 MB / 0.7761 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.0002013/0.007105, allocations: 112.3 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.916e-05/0.007174, allocations: 11.94 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.007176, allocations: 0.8438 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.217e-06/0.007185, allocations: 4 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.007318, allocations: 3.375 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.00757, allocations: 87.47 kB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.33e-05/0.007623, allocations: 51.36 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.859e-05/0.007642, allocations: 5.031 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.007665, allocations: 8.5 kB / 0.8142 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of SimCode: time 3.61e-07/0.007665, allocations: 0 / 0.8142 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of Templates: time 0.00294/0.0106, allocations: 489.6 kB / 0.8146 GB, free: 13.95 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.684391324990429]