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.001217/0.001217, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.00291, 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.001175/0.001175, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002734, 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 0.9593/0.9593, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1081/1.067, 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.865/1.865, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5203/2.385, allocations: 123.3 MB / 0.728 GB, free: 5.844 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.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 1.984e-06/1.984e-06, allocations: 0 / 0.7294 GB, free: 4.488 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.286e-05/3.485e-05, allocations: 8.922 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001556/0.00159, allocations: 0.6461 MB / 0.73 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006087/0.002199, allocations: 317.1 kB / 0.7303 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.00222, allocations: 5.906 kB / 0.7303 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.434e-06/0.002227, allocations: 0 / 0.7303 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.513e-06/0.002229, allocations: 0 / 0.7303 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.002575, allocations: 84.8 kB / 0.7304 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.002636, allocations: 2.328 kB / 0.7304 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.00269, allocations: 7.984 kB / 0.7304 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.294e-05/0.002733, allocations: 1.422 kB / 0.7304 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.002765, allocations: 0 / 0.7304 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.002781, allocations: 0.5312 kB / 0.7304 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.003162, allocations: 284.3 kB / 0.7307 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.003175, allocations: 0 / 0.7307 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.397e-05/0.003189, allocations: 1.859 kB / 0.7307 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.003382, allocations: 84.77 kB / 0.7308 GB, free: 3.102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.888e-05/0.003401, allocations: 4 kB / 0.7308 GB, free: 3.098 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.003403, allocations: 0.5 kB / 0.7308 GB, free: 3.098 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.00342, allocations: 1.438 kB / 0.7308 GB, free: 3.098 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003317/0.003751, allocations: 241.4 kB / 0.731 GB, free: 2.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.003792, allocations: 8.031 kB / 0.731 GB, free: 2.828 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.003898, allocations: 82.05 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.983e-05/0.003967, allocations: 106.4 kB / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.003979, allocations: 1.062 kB / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.003987, allocations: 4.375 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.004073, allocations: 35 kB / 0.7312 GB, free: 2.559 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004079, allocations: 192 / 0.7312 GB, free: 2.559 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.004087, allocations: 3.031 kB / 0.7312 GB, free: 2.559 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.004091, allocations: 384 / 0.7312 GB, free: 2.559 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.649e-05/0.004108, allocations: 3.938 kB / 0.7312 GB, free: 2.555 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.938e-05/0.004197, allocations: 61.05 kB / 0.7313 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/0.004239, allocations: 19.08 kB / 0.7313 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.304e-05/0.004252, allocations: 8.953 kB / 0.7313 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/0.004612, allocations: 46.78 kB / 0.7314 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.00464, allocations: 32.03 kB / 0.7314 GB, free: 2.359 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.783e-06/0.004642, allocations: 0 / 0.7314 GB, free: 2.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.004797, allocations: 33.69 kB / 0.7314 GB, free: 2.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.004832, allocations: 52.28 kB / 0.7315 GB, free: 2.258 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.5e-05/0.004867, allocations: 97.8 kB / 0.7316 GB, free: 2.152 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.004879, allocations: 25.7 kB / 0.7316 GB, free: 2.121 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.004906, allocations: 85.67 kB / 0.7317 GB, free: 2.035 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.004942, allocations: 0 / 0.7317 GB, free: 2.035 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.004967, allocations: 18.28 kB / 0.7317 GB, free: 2.012 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.005061, allocations: 314.8 kB / 0.732 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.005071, allocations: 0.5 kB / 0.732 GB, free: 1.695 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.005077, allocations: 1.375 kB / 0.732 GB, free: 1.695 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.005106, allocations: 13.72 kB / 0.732 GB, free: 1.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.005109, allocations: 1.281 kB / 0.732 GB, free: 1.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.852e-05/0.005167, allocations: 29.7 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.005184, allocations: 8 kB / 0.7321 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.00519, allocations: 0.5625 kB / 0.7321 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.005199, allocations: 3.938 kB / 0.7321 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.005246, allocations: 0.5625 kB / 0.7321 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.005249, allocations: 0.9688 kB / 0.7321 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-06/0.005257, allocations: 0.5469 kB / 0.7321 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005261, allocations: 4 kB / 0.7321 GB, free: 1.629 MB / 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 (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.493e-05/0.005316, allocations: 115 kB / 0.7322 GB, free: 1.508 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.005326, allocations: 0 / 0.7322 GB, free: 1.508 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.683e-05/0.005403, allocations: 33.58 kB / 0.7322 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005405, allocations: 2.125 kB / 0.7322 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.005408, allocations: 4 kB / 0.7322 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.005412, allocations: 0 / 0.7322 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.774e-05/0.00547, allocations: 70.5 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005471, allocations: 0 / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.005485, allocations: 9.781 kB / 0.7323 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-06/0.005488, allocations: 0 / 0.7323 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005489, allocations: 0 / 0.7323 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.005492, allocations: 0 / 0.7323 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005494, allocations: 3.938 kB / 0.7323 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.005496, allocations: 6.141 kB / 0.7323 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.886e-05/0.005555, allocations: 65.02 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-06/0.005562, allocations: 0.75 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-06/0.005565, allocations: 0 / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.005577, allocations: 4.75 kB / 0.7324 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.00558, allocations: 4 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.866e-06/0.005589, allocations: 6.891 kB / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.005589, allocations: 0 / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001038/0.005693, allocations: 11.94 kB / 0.7324 GB, free: 1.25 MB / 0.698 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.0001468/0.005839, allocations: 97 kB / 0.7325 GB, free: 1.145 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.666e-05/0.005896, allocations: 14.2 kB / 0.7325 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.0059, allocations: 0 / 0.7325 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-06/0.005905, allocations: 4.859 kB / 0.7325 GB, free: 1.121 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.007e-05/0.005965, allocations: 17.08 kB / 0.7325 GB, free: 1.105 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001501/0.006115, allocations: 70.48 kB / 0.7326 GB, free: 1.008 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.653e-05/0.006141, allocations: 53 kB / 0.7326 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.722e-05/0.006158, allocations: 2.344 kB / 0.7326 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.006184, allocations: 47.38 kB / 0.7327 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.006184, allocations: 4 kB / 0.7327 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of Templates: time 0.002061/0.008245, allocations: 0.5443 MB / 0.7332 GB, free: 372 kB / 0.698 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower/Buildings_12_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: 4.981095899827778]