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.001006/0.001006, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001/0.001, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.9564/0.9564, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.861/1.861, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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.573e-06/1.573e-06, allocations: 0 / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.918e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00113/0.001149, allocations: 0.6108 MB / 0.8134 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.00136, allocations: 88.98 kB / 0.8135 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.001379, allocations: 4 kB / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.001395, allocations: 0 / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.001436, allocations: 1.656 kB / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.001617, allocations: 15.92 kB / 0.8135 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.631e-05/0.001663, allocations: 11.92 kB / 0.8135 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.001703, allocations: 5.312 kB / 0.8136 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.787e-05/0.001731, allocations: 0 / 0.8136 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.001804, allocations: 7.984 kB / 0.8136 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.001816, allocations: 0 / 0.8136 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.521e-05/0.001871, allocations: 21.52 kB / 0.8136 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.001884, allocations: 0 / 0.8136 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.253e-05/0.001897, allocations: 0 / 0.8136 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.154e-05/0.001968, allocations: 19.97 kB / 0.8136 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.00197, allocations: 2.438 kB / 0.8136 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00197, allocations: 0 / 0.8136 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.001974, allocations: 0 / 0.8136 GB, free: 0.625 MB / 0.7605 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.0002485/0.002222, allocations: 352.3 kB / 0.8139 GB, free: 248 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.002251, allocations: 8.031 kB / 0.8139 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.002353, allocations: 4.938 kB / 0.814 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.526e-05/0.002408, allocations: 117.3 kB / 0.8141 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.002423, allocations: 384 / 0.8141 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-06/0.002428, allocations: 0.9062 kB / 0.8141 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.306e-05/0.002511, allocations: 48.61 kB / 0.8141 GB, free: 36 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.002517, allocations: 4.125 kB / 0.8141 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-06/0.002523, allocations: 384 / 0.8141 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.002529, allocations: 4.375 kB / 0.8141 GB, free: 28 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.002552, allocations: 12.59 kB / 0.8141 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.999e-05/0.002652, allocations: 93.25 kB / 0.8142 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.66e-05/0.002729, allocations: 36.25 kB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.002746, allocations: 15.8 kB / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.002757, allocations: 3.984 kB / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.002777, allocations: 38.48 kB / 0.8143 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.002778, allocations: 0 / 0.8143 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 9.837e-05/0.002876, allocations: 41.69 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.002903, allocations: 52.78 kB / 0.8144 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.537e-05/0.002938, allocations: 146.2 kB / 0.8145 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.002948, allocations: 29.7 kB / 0.8146 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.002974, allocations: 128.6 kB / 0.8147 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.003, allocations: 8.25 kB / 0.8147 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.003024, allocations: 23.36 kB / 0.8147 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.003127, allocations: 0.4883 MB / 0.8152 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.003137, allocations: 4 kB / 0.8152 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-06/0.003143, allocations: 0.7812 kB / 0.8152 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.003173, allocations: 28.45 kB / 0.8152 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.003174, allocations: 0 / 0.8152 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.146e-05/0.003216, allocations: 42.53 kB / 0.8153 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.003227, allocations: 4 kB / 0.8153 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.00323, allocations: 0 / 0.8153 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.003238, allocations: 1.812 kB / 0.8153 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.003376, allocations: 23.97 kB / 0.8153 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007199/0.004096, allocations: 1.786 MB / 0.817 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.004108, allocations: 0 / 0.817 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.004111, allocations: 0 / 0.817 GB, free: 12.81 MB / 0.7761 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.767e-05/0.004169, allocations: 158.6 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-06/0.004174, allocations: 0 / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-06/0.004182, allocations: 11.47 kB / 0.8172 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.004183, allocations: 7.938 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.004185, allocations: 4 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.004188, allocations: 4.484 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.004498, allocations: 99.11 kB / 0.8173 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.004499, allocations: 0 / 0.8173 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.00461, allocations: 33.06 kB / 0.8173 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.004611, allocations: 0 / 0.8173 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-06/0.004615, allocations: 0 / 0.8173 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006044/0.005219, allocations: 1.794 MB / 0.8191 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00522, allocations: 0 / 0.8191 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.106e-05/0.005271, allocations: 76.44 kB / 0.8192 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-06/0.005272, allocations: 0 / 0.8192 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-06/0.005276, allocations: 6 kB / 0.8192 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.005287, allocations: 4 kB / 0.8192 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.005299, allocations: 3.984 kB / 0.8192 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.005301, allocations: 0 / 0.8192 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.005326, allocations: 119.2 kB / 0.8193 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005326, allocations: 0 / 0.8193 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001218/0.005448, allocations: 4.938 kB / 0.8193 GB, free: 10.33 MB / 0.7761 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.703e-05/0.005525, allocations: 96.38 kB / 0.8194 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.005694, allocations: 48.69 kB / 0.8194 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-06/0.005695, allocations: 0 / 0.8194 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.005781, allocations: 33 kB / 0.8195 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.566e-05/0.005876, allocations: 7.375 kB / 0.8195 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001743/0.006051, allocations: 110.9 kB / 0.8196 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.464e-05/0.006075, allocations: 55.3 kB / 0.8196 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.006095, allocations: 9.922 kB / 0.8196 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.00613, allocations: 70.19 kB / 0.8197 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.006131, allocations: 0 / 0.8197 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of Templates: time 0.001687/0.007818, allocations: 0.5127 MB / 0.8202 GB, free: 9.355 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.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.94963004719466]