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.0008217/0.0008217, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.00137/0.00137, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8813/0.8813, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.752/1.752, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.853e-06/1.853e-06, allocations: 0 / 0.9822 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.527e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001122/0.001147, allocations: 0.6104 MB / 0.9828 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002573/0.001404, allocations: 83.69 kB / 0.9829 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.001424, allocations: 0 / 0.9829 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.001442, allocations: 3.938 kB / 0.9829 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.001497, allocations: 0 / 0.9829 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.001745, allocations: 19.97 kB / 0.9829 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.448e-05/0.0018, allocations: 11.92 kB / 0.9829 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.001843, allocations: 4 kB / 0.983 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.001877, allocations: 8 kB / 0.983 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.001951, allocations: 0 / 0.983 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.001967, allocations: 4 kB / 0.983 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.481e-05/0.002022, allocations: 7.984 kB / 0.983 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.002037, allocations: 4 kB / 0.983 GB, free: 1.277 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.002053, allocations: 4 kB / 0.983 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.946e-05/0.002142, allocations: 19.89 kB / 0.983 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.002146, allocations: 7.938 kB / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002146, allocations: 0 / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.00215, allocations: 0 / 0.983 GB, free: 1.246 MB / 0.9323 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.0003037/0.002454, allocations: 250.4 kB / 0.9832 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.002496, allocations: 12.03 kB / 0.9833 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.002637, allocations: 8.922 kB / 0.9833 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.727e-05/0.002705, allocations: 101.8 kB / 0.9834 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.002726, allocations: 4.375 kB / 0.9834 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.002736, allocations: 4.375 kB / 0.9834 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.342e-05/0.002829, allocations: 38.19 kB / 0.9834 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.002837, allocations: 192 / 0.9834 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.002846, allocations: 384 / 0.9834 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.002851, allocations: 8.375 kB / 0.9834 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/0.002903, allocations: 15.92 kB / 0.9834 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.935e-05/0.003003, allocations: 105.2 kB / 0.9835 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.003113, allocations: 46.66 kB / 0.9836 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.003143, allocations: 12.84 kB / 0.9836 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.003159, allocations: 0 / 0.9836 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.003178, allocations: 30.56 kB / 0.9836 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.003179, allocations: 0 / 0.9836 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3): time 0.0001617/0.00334, allocations: 65.61 kB / 0.9837 GB, free: 448 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.00337, allocations: 51.41 kB / 0.9837 GB, free: 384 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.597e-05/0.003396, allocations: 89.86 kB / 0.9838 GB, free: 284 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.003407, allocations: 29.7 kB / 0.9838 GB, free: 248 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.79e-05/0.003425, allocations: 80.14 kB / 0.9839 GB, free: 164 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.00346, allocations: 7.891 kB / 0.9839 GB, free: 156 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.003485, allocations: 17.72 kB / 0.9839 GB, free: 132 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.003576, allocations: 318.8 kB / 0.9842 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.003604, allocations: 4 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.003624, allocations: 15.98 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.547e-05/0.00367, allocations: 16.86 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.003671, allocations: 0 / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.17e-05/0.003733, allocations: 53.61 kB / 0.9843 GB, free: 15.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.003746, allocations: 10.81 kB / 0.9843 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.00375, allocations: 0 / 0.9843 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.003761, allocations: 0 / 0.9843 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.003973, allocations: 43.94 kB / 0.9844 GB, free: 15.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007944/0.004767, allocations: 1.282 MB / 0.9856 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.004783, allocations: 3.953 kB / 0.9856 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.004788, allocations: 0 / 0.9856 GB, free: 14.28 MB / 0.948 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 5.565e-05/0.004843, allocations: 113.9 kB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-06/0.004848, allocations: 3.938 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-06/0.004857, allocations: 7.469 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.004858, allocations: 336 / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.00486, allocations: 4 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.004862, allocations: 8.031 kB / 0.9858 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.004993, allocations: 109.3 kB / 0.9859 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.004994, allocations: 0 / 0.9859 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.005157, allocations: 43.94 kB / 0.9859 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.00516, allocations: 3.984 kB / 0.9859 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.005167, allocations: 7.938 kB / 0.9859 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006049/0.005772, allocations: 1.274 MB / 0.9872 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005773, allocations: 0 / 0.9872 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.72e-05/0.00584, allocations: 81.08 kB / 0.9873 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-06/0.005842, allocations: 0 / 0.9873 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-06/0.005845, allocations: 3.938 kB / 0.9873 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.178e-05/0.005856, allocations: 4 kB / 0.9873 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.005871, allocations: 0 / 0.9873 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.005875, allocations: 3.984 kB / 0.9873 GB, free: 12.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.75e-05/0.005892, allocations: 75.28 kB / 0.9873 GB, free: 12.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005892, allocations: 0 / 0.9873 GB, free: 12.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001288/0.006021, allocations: 8.062 kB / 0.9873 GB, free: 12.38 MB / 0.948 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 7.583e-05/0.006097, allocations: 99.78 kB / 0.9874 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.006329, allocations: 51.92 kB / 0.9875 GB, free: 12.22 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.006331, allocations: 4 kB / 0.9875 GB, free: 12.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.006496, allocations: 63.84 kB / 0.9876 GB, free: 12.15 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.816e-05/0.006594, allocations: 3.938 kB / 0.9876 GB, free: 12.15 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.006839, allocations: 126.6 kB / 0.9877 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.049e-05/0.006869, allocations: 59.36 kB / 0.9877 GB, free: 11.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.006889, allocations: 8.5 kB / 0.9877 GB, free: 11.91 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/0.006889, allocations: 0 / 0.9877 GB, free: 11.91 MB / 0.948 GB Notification: Performance of Templates: time 0.001501/0.008391, allocations: 0.6089 MB / 0.9883 GB, free: 11.3 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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: 6.88698021415621]