Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001645/0.001645, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001851/0.001851, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.588/1.588, allocations: 225.6 MB / 248.5 MB, free: 3.656 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.754/2.754, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5763 GB " [Timeout remaining time 176] 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 71.89 kB / 1.057 GB, free: 1.98 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4271, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001848/0.4289, allocations: 0.5806 MB / 1.215 GB, free: 380 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.4296, allocations: 326.8 kB / 1.215 GB, free: 52 kB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.4296, allocations: 4 kB / 1.215 GB, free: 48 kB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.4296, allocations: 0 / 1.215 GB, free: 48 kB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.4296, allocations: 0 / 1.215 GB, free: 48 kB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.4302, allocations: 115.6 kB / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.329e-05/0.4302, allocations: 0 / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.4302, allocations: 0 / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.4303, allocations: 4 kB / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.374e-05/0.4303, allocations: 7.938 kB / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.4303, allocations: 4 kB / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.4307, allocations: 275.6 kB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.4308, allocations: 0 / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.523e-05/0.4308, allocations: 0 / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.431, allocations: 91.72 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.431, allocations: 0 / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.431, allocations: 0 / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.431, allocations: 0 / 1.215 GB, free: 15.56 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.0004014/0.4314, allocations: 335.3 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4314, allocations: 12.03 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.4315, allocations: 4.938 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.4316, allocations: 164.4 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4316, allocations: 384 / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.4316, allocations: 384 / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.367e-05/0.4317, allocations: 34.2 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4317, allocations: 192 / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.4317, allocations: 3.938 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4318, allocations: 0 / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.4318, allocations: 0 / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.4319, allocations: 157.6 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/0.432, allocations: 18.56 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.432, allocations: 8.797 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005637/0.4326, allocations: 425.6 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.4326, allocations: 34.56 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4326, allocations: 3.938 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001664/0.4328, allocations: 37.64 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.4328, allocations: 55.41 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.218e-05/0.4329, allocations: 89.86 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.4329, allocations: 29.64 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.4329, allocations: 80.14 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.433, allocations: 0 / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.433, allocations: 21.83 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4331, allocations: 310.8 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.4331, allocations: 0 / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.4332, allocations: 4 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.4332, allocations: 12.8 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4332, allocations: 0 / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.815e-05/0.4333, allocations: 33.7 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4333, allocations: 4 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.4333, allocations: 4.094 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4333, allocations: 7.922 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.4333, allocations: 4 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4333, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-06/0.4333, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.4333, allocations: 0 / 1.217 GB, free: 13.38 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.297e-05/0.4334, allocations: 105.8 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.4334, allocations: 4 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.269e-05/0.4335, allocations: 52.69 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4335, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4335, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4336, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.4337, allocations: 145.7 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4337, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.4337, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.4337, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4337, allocations: 7.875 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.4337, allocations: 7.984 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4337, allocations: 8.031 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.349e-05/0.4338, allocations: 57.08 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.4338, allocations: 77.11 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.4338, allocations: 7.938 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-06/0.4339, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.4339, allocations: 3.984 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.4339, allocations: 0 / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.4339, allocations: 79.31 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4339, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001974/0.4341, allocations: 11.94 kB / 1.218 GB, free: 12.72 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 (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.0002081/0.4343, allocations: 107.2 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.604e-05/0.4344, allocations: 15.98 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4344, allocations: 0 / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-06/0.4344, allocations: 7.938 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.4345, allocations: 3.984 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.4347, allocations: 110.7 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.4351, allocations: 0.6729 MB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.4351, allocations: 7.438 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.4351, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.00219/0.4373, allocations: 472.4 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.911017148056999]