Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009617/0.0009617, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009044/0.0009044, allocations: 173 kB / 23.03 MB, free: 1.543 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.9162/0.9162, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.072/2.072, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/2.984e-05, allocations: 7.156 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001652/0.001681, allocations: 0.6264 MB / 0.8788 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002592/0.001941, allocations: 87.67 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.001957, allocations: 0 / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.001977, allocations: 0.875 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.002023, allocations: 0 / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.002252, allocations: 17.61 kB / 0.8789 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.294e-05/0.002305, allocations: 8.594 kB / 0.8789 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.002343, allocations: 3.984 kB / 0.879 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.352e-05/0.002377, allocations: 5.094 kB / 0.879 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.235e-05/0.002449, allocations: 1.031 kB / 0.879 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.002463, allocations: 0 / 0.879 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.336e-05/0.002526, allocations: 23.91 kB / 0.879 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.002541, allocations: 2.156 kB / 0.879 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.002558, allocations: 4 kB / 0.879 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.362e-05/0.002652, allocations: 16.84 kB / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.002654, allocations: 1.094 kB / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.002656, allocations: 0 / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.00266, allocations: 0 / 0.879 GB, free: 5.488 MB / 0.8386 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.0003356/0.002996, allocations: 349.5 kB / 0.8793 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.00304, allocations: 12.03 kB / 0.8793 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.003188, allocations: 14.05 kB / 0.8794 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.499e-05/0.003253, allocations: 108.6 kB / 0.8795 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.003273, allocations: 2.031 kB / 0.8795 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.003283, allocations: 4.375 kB / 0.8795 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.003402, allocations: 50.95 kB / 0.8795 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.003411, allocations: 4.125 kB / 0.8795 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.00342, allocations: 384 / 0.8795 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.003427, allocations: 0.875 kB / 0.8795 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.003462, allocations: 13.77 kB / 0.8795 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.003588, allocations: 112.6 kB / 0.8796 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.003693, allocations: 39.09 kB / 0.8797 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.003725, allocations: 15.75 kB / 0.8797 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.003738, allocations: 1.344 kB / 0.8797 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.003761, allocations: 37.38 kB / 0.8797 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.003762, allocations: 3.938 kB / 0.8797 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001496/0.003912, allocations: 49.69 kB / 0.8798 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.003944, allocations: 52.5 kB / 0.8798 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.22e-05/0.003986, allocations: 142.2 kB / 0.88 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.003998, allocations: 25.7 kB / 0.88 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.004034, allocations: 127.5 kB / 0.8801 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.004067, allocations: 13.55 kB / 0.8801 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.0041, allocations: 15.38 kB / 0.8801 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.004227, allocations: 0.4883 MB / 0.8806 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.004248, allocations: 3.984 kB / 0.8806 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.004259, allocations: 4 kB / 0.8806 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.004303, allocations: 26.22 kB / 0.8807 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.004307, allocations: 4 kB / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.133e-05/0.004378, allocations: 45.69 kB / 0.8807 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.004392, allocations: 4 kB / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.004397, allocations: 0 / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.004409, allocations: 0 / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.004593, allocations: 25.91 kB / 0.8807 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009483/0.005542, allocations: 1.809 MB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.005561, allocations: 4 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.005566, allocations: 0 / 0.8825 GB, free: 1.598 MB / 0.8386 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 7.454e-05/0.00564, allocations: 156.7 kB / 0.8826 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.005652, allocations: 15.83 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.341e-05/0.005665, allocations: 11.52 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.005666, allocations: 0 / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.005668, allocations: 0 / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.00567, allocations: 0 / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.518e-05/0.005735, allocations: 112.6 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.005737, allocations: 0 / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.005882, allocations: 35.91 kB / 0.8828 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.005884, allocations: 0 / 0.8828 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.005892, allocations: 7.938 kB / 0.8828 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008011/0.006693, allocations: 1.794 MB / 0.8846 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006694, allocations: 4.125 kB / 0.8846 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.386e-05/0.006768, allocations: 88.36 kB / 0.8847 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-06/0.006773, allocations: 7.984 kB / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-06/0.006778, allocations: 0 / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.353e-05/0.006792, allocations: 4 kB / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.00681, allocations: 0 / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.006814, allocations: 0 / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.171e-05/0.006845, allocations: 119.2 kB / 0.8848 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006845, allocations: 0 / 0.8848 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001947/0.00704, allocations: 4 kB / 0.8848 GB, free: 15.05 MB / 0.8542 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 0.0001058/0.007146, allocations: 103.2 kB / 0.8849 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.007364, allocations: 47.59 kB / 0.8849 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.007366, allocations: 0 / 0.8849 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.007476, allocations: 27.95 kB / 0.885 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.007608, allocations: 11.92 kB / 0.885 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.007858, allocations: 102.1 kB / 0.8851 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.00789, allocations: 55.34 kB / 0.8851 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.007912, allocations: 4 kB / 0.8851 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.007938, allocations: 12.44 kB / 0.8851 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of SimCode: time 1.052e-06/0.00794, allocations: 0 / 0.8851 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of Templates: time 0.002483/0.01042, allocations: 0.4976 MB / 0.8856 GB, free: 14.14 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.221017544157803]