Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.000799/0.000799, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.00197, allocations: 449.7 kB / 10.37 MB, free: 328 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.001499/0.001499, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001653/0.003153, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1087/1.137, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.851/1.851, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4667/2.318, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.079e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001928/0.001949, allocations: 1.556 MB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004334/0.002382, allocations: 370.5 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.002412, allocations: 0 / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.002436, allocations: 6 kB / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.101e-05/0.002467, allocations: 6.391 kB / 0.7312 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.002722, allocations: 92.81 kB / 0.7313 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.217e-05/0.002784, allocations: 29.69 kB / 0.7313 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.697e-05/0.002851, allocations: 4.875 kB / 0.7313 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.552e-05/0.002916, allocations: 18.28 kB / 0.7314 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.002952, allocations: 13.77 kB / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.002965, allocations: 4 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.003267, allocations: 276.1 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.003279, allocations: 1.422 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.003293, allocations: 5.922 kB / 0.7316 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.003469, allocations: 115.1 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.003482, allocations: 0 / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003482, allocations: 1.438 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.003494, allocations: 0 / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003259/0.00382, allocations: 264.3 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.003848, allocations: 9.016 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.003922, allocations: 86.7 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.992e-05/0.003992, allocations: 113.8 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.003999, allocations: 1.062 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-06/0.004005, allocations: 2.094 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.004093, allocations: 50.95 kB / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-06/0.004098, allocations: 192 / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-06/0.004104, allocations: 384 / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.004107, allocations: 4.375 kB / 0.7323 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.004127, allocations: 9.781 kB / 0.7323 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.004319, allocations: 152.3 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.948e-05/0.004369, allocations: 19.08 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.004384, allocations: 5.391 kB / 0.7324 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.004665, allocations: 83.45 kB / 0.7325 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.004689, allocations: 34.5 kB / 0.7326 GB, free: 1.137 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.00469, allocations: 1.75 kB / 0.7326 GB, free: 1.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001373/0.004828, allocations: 37.7 kB / 0.7326 GB, free: 1.094 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.004865, allocations: 59.98 kB / 0.7327 GB, free: 1.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.695e-05/0.004922, allocations: 110.7 kB / 0.7328 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.004932, allocations: 26.3 kB / 0.7328 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.004961, allocations: 88.11 kB / 0.7329 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.004979, allocations: 12.89 kB / 0.7329 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.005002, allocations: 13.72 kB / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.005072, allocations: 312 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-06/0.00508, allocations: 4 kB / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.005088, allocations: 1.125 kB / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/0.005111, allocations: 17.5 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.005114, allocations: 0 / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.693e-05/0.005171, allocations: 34.23 kB / 0.7332 GB, free: 384 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.005183, allocations: 12.88 kB / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.005188, allocations: 0 / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.005196, allocations: 3.984 kB / 0.7333 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.00525, allocations: 8.5 kB / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.005253, allocations: 1.75 kB / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.005268, allocations: 4 kB / 0.7333 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.005272, allocations: 0 / 0.7333 GB, free: 356 kB / 0.698 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 (2): * Single equations (assignments): 2 * 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 4.881e-05/0.005321, allocations: 113.8 kB / 0.7334 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.005345, allocations: 13.14 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.005407, allocations: 41.31 kB / 0.7334 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005408, allocations: 0 / 0.7334 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.005412, allocations: 5.5 kB / 0.7334 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005414, allocations: 0 / 0.7334 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.554e-05/0.00549, allocations: 61.91 kB / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005491, allocations: 0 / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.005513, allocations: 12.48 kB / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-06/0.005518, allocations: 0.6562 kB / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.005519, allocations: 0 / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.005523, allocations: 0.75 kB / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.005524, allocations: 4 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.005526, allocations: 4.938 kB / 0.7335 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.005618, allocations: 139.4 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-06/0.005626, allocations: 1.188 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.005656, allocations: 4 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.005682, allocations: 3.984 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.005685, allocations: 0.8125 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.443e-05/0.005699, allocations: 20.78 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005699, allocations: 5.156 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001279/0.005827, allocations: 12 kB / 0.7337 GB, free: 15.86 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.0001076/0.005935, allocations: 97.31 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.315e-05/0.005998, allocations: 14.09 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.006003, allocations: 4 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.006018, allocations: 12.8 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.006155, allocations: 8 kB / 0.7338 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.006483, allocations: 113.6 kB / 0.7339 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.006515, allocations: 59.34 kB / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.006532, allocations: 2.75 kB / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.006568, allocations: 51.38 kB / 0.734 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.006569, allocations: 0 / 0.734 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of Templates: time 0.002363/0.008932, allocations: 0.7914 MB / 0.7348 GB, free: 14.7 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower/Buildings_12_Buildings.Utilities.Math.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: 4.823871701955795]