Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.0007468/0.0007468, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001809, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007028/0.0007028, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009594/0.001662, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9392/0.9392, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08561/1.025, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.825/1.825, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4502/2.275, allocations: 123.3 MB / 0.7283 GB, free: 5.738 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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.459e-05, allocations: 3.562 kB / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001341/0.001356, allocations: 0.6613 MB / 0.7303 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001469/0.001503, allocations: 107.5 kB / 0.7304 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.165e-05/0.001514, allocations: 0 / 0.7304 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-06/0.001518, allocations: 1.094 kB / 0.7305 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.947e-05/0.001537, allocations: 0 / 0.7305 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.899e-05/0.001626, allocations: 11.92 kB / 0.7305 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.001684, allocations: 12.97 kB / 0.7305 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.001722, allocations: 10.61 kB / 0.7305 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.001761, allocations: 5.094 kB / 0.7305 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.001834, allocations: 4.766 kB / 0.7305 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.001847, allocations: 0 / 0.7305 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.001925, allocations: 15.92 kB / 0.7305 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.001939, allocations: 4.547 kB / 0.7305 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.001955, allocations: 4.656 kB / 0.7305 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.619e-05/0.002041, allocations: 14.48 kB / 0.7305 GB, free: 3.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.002052, allocations: 0 / 0.7305 GB, free: 3.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.31e-07/0.002052, allocations: 0 / 0.7305 GB, free: 3.547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.002064, allocations: 0.9844 kB / 0.7305 GB, free: 3.547 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.000301/0.002365, allocations: 221.3 kB / 0.7307 GB, free: 3.305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.002398, allocations: 12.94 kB / 0.7308 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.002556, allocations: 86.03 kB / 0.7308 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/0.00562, allocations: 102.5 kB / 0.7309 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.005638, allocations: 8.375 kB / 0.7309 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.005648, allocations: 5 kB / 0.7309 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.357e-05/0.005742, allocations: 47.45 kB / 0.731 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.005748, allocations: 0.8438 kB / 0.731 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.005754, allocations: 0.9375 kB / 0.731 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.005759, allocations: 1.031 kB / 0.731 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/0.005783, allocations: 11.92 kB / 0.731 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.738e-05/0.005861, allocations: 57.73 kB / 0.7311 GB, free: 2.918 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.378e-05/0.005944, allocations: 43.22 kB / 0.7311 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.00596, allocations: 9.734 kB / 0.7311 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.005974, allocations: 3.938 kB / 0.7311 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.005995, allocations: 31.62 kB / 0.7311 GB, free: 2.816 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.005996, allocations: 0 / 0.7311 GB, free: 2.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001028/0.006099, allocations: 41.69 kB / 0.7312 GB, free: 2.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.006127, allocations: 53.12 kB / 0.7312 GB, free: 2.707 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.839e-05/0.006156, allocations: 89.86 kB / 0.7313 GB, free: 2.609 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.006165, allocations: 25.7 kB / 0.7313 GB, free: 2.578 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.006185, allocations: 81.23 kB / 0.7314 GB, free: 2.496 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.006219, allocations: 12.77 kB / 0.7314 GB, free: 2.484 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.006249, allocations: 21.69 kB / 0.7315 GB, free: 2.457 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.006329, allocations: 315.3 kB / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-06/0.006339, allocations: 0 / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.006348, allocations: 9.625 kB / 0.7318 GB, free: 2.133 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.00638, allocations: 16.84 kB / 0.7318 GB, free: 2.113 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.006383, allocations: 4 kB / 0.7318 GB, free: 2.109 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.73e-05/0.00643, allocations: 37.69 kB / 0.7318 GB, free: 2.066 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.006443, allocations: 4.875 kB / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.006448, allocations: 0.5469 kB / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.006462, allocations: 5.125 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.006647, allocations: 25.72 kB / 0.7319 GB, free: 2.035 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007643/0.007411, allocations: 1.193 MB / 0.733 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.007427, allocations: 4.656 kB / 0.733 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.007432, allocations: 5.406 kB / 0.733 GB, free: 0.75 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.119e-05/0.007493, allocations: 114.9 kB / 0.7331 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.0075, allocations: 4 kB / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.765e-06/0.007508, allocations: 8 kB / 0.7332 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.01e-07/0.007508, allocations: 0.5312 kB / 0.7332 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.00751, allocations: 3.938 kB / 0.7332 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.007513, allocations: 0.875 kB / 0.7332 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.074e-05/0.007563, allocations: 65.89 kB / 0.7332 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007564, allocations: 1.562 kB / 0.7332 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.007691, allocations: 29.19 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.007695, allocations: 7.984 kB / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.007696, allocations: 0 / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.007702, allocations: 5.062 kB / 0.7333 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005777/0.00828, allocations: 1.203 MB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00828, allocations: 4 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.933e-05/0.00833, allocations: 57.88 kB / 0.7345 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-06/0.008334, allocations: 48 / 0.7345 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.008348, allocations: 12.67 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.008361, allocations: 0 / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.008363, allocations: 1.438 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.013e-06/0.00837, allocations: 4.859 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.00837, allocations: 0.7656 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00316/0.01153, allocations: 9.25 kB / 0.7345 GB, free: 15.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.449e-05/0.01161, allocations: 84.34 kB / 0.7346 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.0118, allocations: 44.84 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.01181, allocations: 0 / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01192, allocations: 34.8 kB / 0.7347 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.966e-05/0.01199, allocations: 8.875 kB / 0.7347 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.01221, allocations: 95.94 kB / 0.7348 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.01225, allocations: 55.92 kB / 0.7348 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.01227, allocations: 2.812 kB / 0.7348 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.01231, allocations: 56.02 kB / 0.7349 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.01231, allocations: 0 / 0.7349 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of Templates: time 0.005061/0.01737, allocations: 481.7 kB / 0.7354 GB, free: 14.22 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.861658141948283]