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.0009744/0.0009744, allocations: 87.58 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.001184/0.001184, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.018/1.018, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.845/1.845, allocations: 377.9 MB / 0.6236 GB, free: 8.531 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.603e-06/1.603e-06, allocations: 0 / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.475e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001281/0.001305, allocations: 0.6163 MB / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.001547, allocations: 87.67 kB / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.001564, allocations: 0 / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.001581, allocations: 0.6875 kB / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.668e-05/0.001628, allocations: 3.938 kB / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.00183, allocations: 16.89 kB / 0.8123 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.759e-05/0.001877, allocations: 11.92 kB / 0.8123 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.001914, allocations: 0.6562 kB / 0.8123 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.001946, allocations: 7.984 kB / 0.8123 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.00201, allocations: 0.75 kB / 0.8123 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.002028, allocations: 4.969 kB / 0.8123 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.032e-05/0.002088, allocations: 15.92 kB / 0.8123 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.0021, allocations: 0 / 0.8123 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.002117, allocations: 8.859 kB / 0.8123 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.817e-05/0.002205, allocations: 15.97 kB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002207, allocations: 1.25 kB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002208, allocations: 3.938 kB / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.002212, allocations: 4 kB / 0.8124 GB, free: 0.875 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.0002916/0.002503, allocations: 346 kB / 0.8127 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.002539, allocations: 12.03 kB / 0.8127 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.002662, allocations: 8.922 kB / 0.8127 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.664e-05/0.002719, allocations: 104.6 kB / 0.8128 GB, free: 360 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.002737, allocations: 1.75 kB / 0.8128 GB, free: 360 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.002748, allocations: 4.375 kB / 0.8128 GB, free: 356 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.002853, allocations: 54.89 kB / 0.8129 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.002862, allocations: 2 kB / 0.8129 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.002871, allocations: 384 / 0.8129 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.002878, allocations: 384 / 0.8129 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.002908, allocations: 15.92 kB / 0.8129 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.003015, allocations: 116.6 kB / 0.813 GB, free: 124 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.0031, allocations: 36.59 kB / 0.813 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.003123, allocations: 19.78 kB / 0.8131 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.003138, allocations: 0 / 0.8131 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.003158, allocations: 37.39 kB / 0.8131 GB, free: 4 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.003159, allocations: 1.406 kB / 0.8131 GB, free: 4 kB / 0.7605 GB Notification: Performance of matching and sorting (n=3): time 0.0001416/0.0033, allocations: 49.7 kB / 0.8131 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.003324, allocations: 51.41 kB / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.636e-05/0.00336, allocations: 142.8 kB / 0.8133 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.003369, allocations: 25.7 kB / 0.8134 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.003415, allocations: 127.5 kB / 0.8135 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.003444, allocations: 18.22 kB / 0.8135 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.003471, allocations: 19.36 kB / 0.8135 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.003574, allocations: 0.4883 MB / 0.814 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.00359, allocations: 0 / 0.814 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-06/0.003598, allocations: 4 kB / 0.814 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.003637, allocations: 23.67 kB / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.003639, allocations: 0.5312 kB / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.539e-05/0.003694, allocations: 46.36 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.003705, allocations: 4 kB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.003709, allocations: 1.25 kB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.003724, allocations: 3.984 kB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.003882, allocations: 21.73 kB / 0.8141 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007962/0.004678, allocations: 1.811 MB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.004691, allocations: 1.219 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.004695, allocations: 0 / 0.8159 GB, free: 12.99 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 6.323e-05/0.004758, allocations: 157.4 kB / 0.816 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-06/0.004764, allocations: 7.938 kB / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-06/0.004773, allocations: 8.469 kB / 0.816 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.004774, allocations: 0 / 0.816 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.004775, allocations: 0 / 0.816 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.004777, allocations: 5.281 kB / 0.816 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.379e-05/0.004831, allocations: 112.6 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.004832, allocations: 0 / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.004947, allocations: 31.12 kB / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.004949, allocations: 0 / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.004957, allocations: 11.94 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000631/0.005588, allocations: 1.797 MB / 0.8179 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005589, allocations: 0 / 0.8179 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.112e-05/0.00565, allocations: 88.3 kB / 0.818 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-06/0.005654, allocations: 4 kB / 0.818 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-06/0.005658, allocations: 0 / 0.818 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.005668, allocations: 8 kB / 0.818 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.005684, allocations: 0 / 0.818 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.005687, allocations: 4.578 kB / 0.818 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.005713, allocations: 119.7 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005713, allocations: 0 / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001278/0.005841, allocations: 4.562 kB / 0.8182 GB, free: 10.46 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 8.145e-05/0.005922, allocations: 96.5 kB / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.006106, allocations: 44.75 kB / 0.8183 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.006108, allocations: 4.594 kB / 0.8183 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.255e-05/0.0062, allocations: 37.38 kB / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.006315, allocations: 3.938 kB / 0.8183 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.006536, allocations: 113.8 kB / 0.8184 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.877e-05/0.006565, allocations: 55.36 kB / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.779e-05/0.006583, allocations: 0 / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.006607, allocations: 8.5 kB / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.006608, allocations: 4 kB / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.001871/0.008478, allocations: 471.5 kB / 0.819 GB, free: 9.605 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: 5.240967781748623]