Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009247/0.0009247, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.002028, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0011/0.0011, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.002414, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9125/0.9125, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09116/1.004, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.579/2.579, allocations: 446.7 MB / 0.6745 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2633/2.843, allocations: 145.9 MB / 0.817 GB, free: 4.164 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.8184 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.399e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.785 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001966/0.00199, allocations: 0.65 MB / 0.819 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004972/0.002487, allocations: 294.8 kB / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.267e-05/0.0025, allocations: 3.938 kB / 0.8193 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-06/0.002504, allocations: 0 / 0.8193 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.002505, allocations: 0 / 0.8193 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.002814, allocations: 87.62 kB / 0.8194 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.002864, allocations: 4 kB / 0.8194 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.002906, allocations: 4 kB / 0.8194 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.002945, allocations: 3.984 kB / 0.8194 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.00298, allocations: 8 kB / 0.8194 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.002995, allocations: 0 / 0.8194 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/0.003479, allocations: 271.6 kB / 0.8196 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.003488, allocations: 0 / 0.8196 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.243e-05/0.003501, allocations: 3.938 kB / 0.8197 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.003702, allocations: 95.7 kB / 0.8197 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.6e-05/0.003718, allocations: 0 / 0.8197 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003718, allocations: 0 / 0.8197 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.003742, allocations: 0 / 0.8197 GB, free: 1.371 MB / 0.7917 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.0003165/0.004058, allocations: 244.5 kB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.004094, allocations: 12.62 kB / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/0.004188, allocations: 82.03 kB / 0.8201 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.005e-05/0.004259, allocations: 109.8 kB / 0.8202 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.004272, allocations: 384 / 0.8202 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.004281, allocations: 4.375 kB / 0.8202 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.603e-05/0.004367, allocations: 26.27 kB / 0.8202 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.004376, allocations: 192 / 0.8202 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.004382, allocations: 384 / 0.8202 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.004388, allocations: 384 / 0.8202 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.004407, allocations: 15.88 kB / 0.8202 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.678e-05/0.004494, allocations: 57.03 kB / 0.8203 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.004535, allocations: 22.59 kB / 0.8203 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.004548, allocations: 4.859 kB / 0.8203 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.00485, allocations: 44.03 kB / 0.8203 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.004879, allocations: 34.56 kB / 0.8204 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.00488, allocations: 0 / 0.8204 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.005002, allocations: 45.58 kB / 0.8204 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.005035, allocations: 51.41 kB / 0.8205 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.987e-05/0.005065, allocations: 89.86 kB / 0.8206 GB, free: 416 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.005077, allocations: 25.7 kB / 0.8206 GB, free: 384 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.005102, allocations: 84.14 kB / 0.8207 GB, free: 296 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.005131, allocations: 3.984 kB / 0.8207 GB, free: 292 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.005155, allocations: 13.72 kB / 0.8207 GB, free: 272 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.005264, allocations: 318.8 kB / 0.821 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.005271, allocations: 0 / 0.821 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.005278, allocations: 4.125 kB / 0.821 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.406e-05/0.005302, allocations: 8.922 kB / 0.821 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005304, allocations: 3.938 kB / 0.821 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.521e-05/0.005369, allocations: 33.69 kB / 0.821 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.005384, allocations: 8 kB / 0.821 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.005388, allocations: 0 / 0.821 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.005397, allocations: 0 / 0.821 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.391e-05/0.005441, allocations: 0 / 0.821 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.005445, allocations: 4 kB / 0.821 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-06/0.005455, allocations: 0 / 0.821 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.005459, allocations: 4.031 kB / 0.821 GB, free: 15.87 MB / 0.8073 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 5.968e-05/0.005519, allocations: 109.8 kB / 0.8211 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.005537, allocations: 4 kB / 0.8211 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.005614, allocations: 44.62 kB / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.005616, allocations: 0 / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.005618, allocations: 0 / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.005621, allocations: 0 / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.842e-05/0.005679, allocations: 65.84 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.005681, allocations: 0 / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.005695, allocations: 8.031 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.0057, allocations: 3.984 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005701, allocations: 0 / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-06/0.005705, allocations: 0 / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.005707, allocations: 4 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.005709, allocations: 0 / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.565e-05/0.005774, allocations: 53.08 kB / 0.8213 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.005783, allocations: 0 / 0.8213 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-06/0.005789, allocations: 11.88 kB / 0.8213 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.005803, allocations: 3.984 kB / 0.8213 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.005805, allocations: 0 / 0.8213 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.193e-06/0.005812, allocations: 8.891 kB / 0.8213 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.005812, allocations: 0 / 0.8213 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001589/0.005971, allocations: 11.94 kB / 0.8214 GB, free: 15.5 MB / 0.8073 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.0001575/0.006129, allocations: 96.34 kB / 0.8214 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.956e-05/0.006198, allocations: 12.84 kB / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.006204, allocations: 4 kB / 0.8215 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.00621, allocations: 4.859 kB / 0.8215 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.186e-05/0.006282, allocations: 8.062 kB / 0.8215 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.006473, allocations: 90.14 kB / 0.8216 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.006506, allocations: 55.3 kB / 0.8216 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.006525, allocations: 3.984 kB / 0.8216 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.00656, allocations: 51.38 kB / 0.8217 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/0.006561, allocations: 0 / 0.8217 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.002595/0.009156, allocations: 0.5414 MB / 0.8222 GB, free: 14.57 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.269161562435329]