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.0009221/0.0009221, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.000931/0.000931, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9348/0.9348, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.814/1.814, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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.342e-06/1.342e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.16e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001144/0.001166, allocations: 0.6029 MB / 0.8122 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.001383, allocations: 97.06 kB / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.001398, allocations: 0 / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.001418, allocations: 4.594 kB / 0.8123 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.001458, allocations: 0 / 0.8123 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.001656, allocations: 16.86 kB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.536e-05/0.001702, allocations: 4 kB / 0.8123 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.001734, allocations: 5.109 kB / 0.8123 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.001764, allocations: 7.984 kB / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.001828, allocations: 1.531 kB / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.001842, allocations: 0 / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.406e-05/0.001896, allocations: 19.92 kB / 0.8123 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.001909, allocations: 0 / 0.8123 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.001923, allocations: 4 kB / 0.8123 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.25e-05/0.002005, allocations: 25.38 kB / 0.8124 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002007, allocations: 0 / 0.8124 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002008, allocations: 0 / 0.8124 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.002013, allocations: 0 / 0.8124 GB, free: 0.918 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.0003508/0.002363, allocations: 349.7 kB / 0.8127 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.002399, allocations: 8.031 kB / 0.8127 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.002522, allocations: 13.42 kB / 0.8127 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.62e-05/0.002578, allocations: 112.6 kB / 0.8128 GB, free: 392 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.002595, allocations: 1.594 kB / 0.8128 GB, free: 392 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.002603, allocations: 4.375 kB / 0.8128 GB, free: 388 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.002707, allocations: 50.95 kB / 0.8129 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.002715, allocations: 0.9062 kB / 0.8129 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.002723, allocations: 384 / 0.8129 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.002729, allocations: 1.844 kB / 0.8129 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.002757, allocations: 11.88 kB / 0.8129 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.002858, allocations: 116.7 kB / 0.813 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 8.364e-05/0.002942, allocations: 35.69 kB / 0.813 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.002962, allocations: 15.75 kB / 0.813 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.002975, allocations: 4.984 kB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.002992, allocations: 33.39 kB / 0.8131 GB, free: 48 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.002993, allocations: 0.75 kB / 0.8131 GB, free: 48 kB / 0.7605 GB Notification: Performance of matching and sorting (n=3): time 0.0001369/0.00313, allocations: 53.62 kB / 0.8131 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.003155, allocations: 52.06 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.317e-05/0.003188, allocations: 142.2 kB / 0.8133 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.003197, allocations: 26.98 kB / 0.8133 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.00322, allocations: 126.9 kB / 0.8135 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.003248, allocations: 12.25 kB / 0.8135 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.003272, allocations: 21.16 kB / 0.8135 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.003367, allocations: 0.4922 MB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.003384, allocations: 0 / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.003394, allocations: 4 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.635e-05/0.00343, allocations: 19.97 kB / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.003432, allocations: 2.312 kB / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.886e-05/0.003491, allocations: 57.55 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.003504, allocations: 4 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.003508, allocations: 0 / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.00352, allocations: 0 / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.003677, allocations: 27.41 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008607/0.004538, allocations: 1.798 MB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.004552, allocations: 4 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.004557, allocations: 4.844 kB / 0.8159 GB, free: 13.03 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.919e-05/0.004616, allocations: 153.1 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.004624, allocations: 12.48 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.116e-06/0.004632, allocations: 8.094 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.004633, allocations: 0 / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.004635, allocations: 1.25 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.004637, allocations: 0 / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.447e-05/0.004691, allocations: 112.6 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.004692, allocations: 0.6875 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.004804, allocations: 30.56 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.004805, allocations: 0 / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.004812, allocations: 7.938 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008306/0.005643, allocations: 1.796 MB / 0.8179 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.005645, allocations: 4 kB / 0.8179 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.805e-05/0.005703, allocations: 88.3 kB / 0.818 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-06/0.005705, allocations: 1.312 kB / 0.818 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-06/0.005709, allocations: 4 kB / 0.818 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.005719, allocations: 4 kB / 0.818 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.005734, allocations: 0.9688 kB / 0.818 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.005737, allocations: 0 / 0.818 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.478e-05/0.005762, allocations: 119.2 kB / 0.8181 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005762, allocations: 1.188 kB / 0.8181 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001259/0.005888, allocations: 4 kB / 0.8181 GB, free: 10.51 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.782e-05/0.005965, allocations: 103.2 kB / 0.8182 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.006141, allocations: 47.59 kB / 0.8183 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006142, allocations: 0 / 0.8183 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.006231, allocations: 35.94 kB / 0.8183 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.672e-05/0.006328, allocations: 3.938 kB / 0.8183 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.006535, allocations: 109.5 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.74e-05/0.006562, allocations: 55.34 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.897e-05/0.006581, allocations: 6.125 kB / 0.8185 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.006603, allocations: 8.5 kB / 0.8185 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.006603, allocations: 0 / 0.8185 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.001936/0.008539, allocations: 0.4951 MB / 0.819 GB, free: 9.617 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.904249179176986]