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.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.001693/0.001693, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001994/0.001994, allocations: 160.6 kB / 23.01 MB, free: 4.602 MB / 14.72 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.648/2.648, allocations: 359.1 MB / 0.6044 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 67.91 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2826, allocations: 169.9 MB / 1.117 GB, free: 2.586 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001762/0.2844, allocations: 0.5993 MB / 1.118 GB, free: 1.988 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006438/0.285, allocations: 283 kB / 1.118 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.285, allocations: 4 kB / 1.118 GB, free: 1.707 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.285, allocations: 0 / 1.118 GB, free: 1.707 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.285, allocations: 4 kB / 1.118 GB, free: 1.703 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.2855, allocations: 111.6 kB / 1.118 GB, free: 1.594 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.397e-05/0.2855, allocations: 4 kB / 1.118 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.007e-05/0.2856, allocations: 0 / 1.118 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.375e-05/0.2856, allocations: 3.984 kB / 1.118 GB, free: 1.586 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.773e-05/0.2856, allocations: 0 / 1.118 GB, free: 1.586 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.824e-06/0.2856, allocations: 0 / 1.118 GB, free: 1.586 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.286, allocations: 259.7 kB / 1.119 GB, free: 1.332 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.286, allocations: 4 kB / 1.119 GB, free: 1.328 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.098e-05/0.286, allocations: 0 / 1.119 GB, free: 1.328 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.2862, allocations: 91.73 kB / 1.119 GB, free: 1.238 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2862, allocations: 3.938 kB / 1.119 GB, free: 1.234 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2862, allocations: 0 / 1.119 GB, free: 1.234 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2862, allocations: 0 / 1.119 GB, free: 1.234 MB / 1.061 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.0003071/0.2865, allocations: 262.2 kB / 1.119 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2866, allocations: 12.03 kB / 1.119 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.2866, allocations: 0.9375 kB / 1.119 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.473e-05/0.2867, allocations: 110.5 kB / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2867, allocations: 384 / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-06/0.2867, allocations: 4.375 kB / 1.119 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.216e-05/0.2868, allocations: 30.27 kB / 1.119 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2868, allocations: 192 / 1.119 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2868, allocations: 3.938 kB / 1.119 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.2868, allocations: 0 / 1.119 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.2868, allocations: 4 kB / 1.119 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.287, allocations: 97.33 kB / 1.119 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/0.287, allocations: 18.61 kB / 1.119 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.287, allocations: 12.84 kB / 1.119 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/0.2873, allocations: 43.95 kB / 1.119 GB, free: 0.543 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.2874, allocations: 34.56 kB / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.2874, allocations: 0 / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.2875, allocations: 37.62 kB / 1.119 GB, free: 468 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.2876, allocations: 55.41 kB / 1.119 GB, free: 400 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.374e-05/0.2876, allocations: 89.86 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.2876, allocations: 29.7 kB / 1.12 GB, free: 264 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.2877, allocations: 88.2 kB / 1.12 GB, free: 172 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.2877, allocations: 7.891 kB / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.2877, allocations: 9.719 kB / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2879, allocations: 314.8 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-06/0.2879, allocations: 0 / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.2879, allocations: 0 / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.546e-05/0.2879, allocations: 12.86 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2879, allocations: 0 / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.159e-05/0.288, allocations: 33.69 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.288, allocations: 8.094 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.288, allocations: 7.984 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.288, allocations: 0 / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-05/0.288, allocations: 7.875 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.288, allocations: 4 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-06/0.288, allocations: 0 / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.288, allocations: 0 / 1.12 GB, free: 15.75 MB / 1.076 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 6.84e-05/0.2881, allocations: 105.8 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.2881, allocations: 0 / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/0.2882, allocations: 52.62 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.2882, allocations: 7.938 kB / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2882, allocations: 0 / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2882, allocations: 0 / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.887e-05/0.2883, allocations: 101.2 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2883, allocations: 4 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/0.2883, allocations: 3.984 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2883, allocations: 0 / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.2883, allocations: 0 / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2883, allocations: 0 / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.2883, allocations: 7.875 kB / 1.12 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.239e-05/0.2884, allocations: 61.17 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-06/0.2884, allocations: 4 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.2884, allocations: 3.984 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.2885, allocations: 0 / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.2885, allocations: 3.938 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.2885, allocations: 0 / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.442e-05/0.2885, allocations: 75.28 kB / 1.12 GB, free: 15.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.2885, allocations: 0 / 1.12 GB, free: 15.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001916/0.2887, allocations: 15.94 kB / 1.121 GB, free: 15.24 MB / 1.076 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.0001587/0.2889, allocations: 111.2 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.596e-05/0.2889, allocations: 15.92 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2889, allocations: 0 / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.2889, allocations: 0 / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.289, allocations: 6.188 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000169/0.2892, allocations: 72.88 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.2893, allocations: 55.36 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.622e-05/0.2893, allocations: 3.984 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.2893, allocations: 8.625 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.2893, allocations: 4 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of Templates: time 0.002576/0.2919, allocations: 461.9 kB / 1.121 GB, free: 14.46 MB / 1.076 GB " [Timeout remaining time 300] 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 ida -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/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: 7.53694566397462]