Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.0009433/0.0009433, allocations: 93.06 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.0009755/0.0009755, allocations: 169 kB / 23.02 MB, free: 1.547 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.937/0.937, allocations: 177.2 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.041/2.041, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.666e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00175/0.001766, allocations: 1.509 MB / 0.8796 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002242/0.001991, allocations: 92.98 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.00202, allocations: 0.8438 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.002049, allocations: 0 / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.00209, allocations: 6.766 kB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.002284, allocations: 20.52 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.002358, allocations: 26.2 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.002458, allocations: 4 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.002505, allocations: 16.48 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.094e-05/0.002536, allocations: 8.781 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.00255, allocations: 0 / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.002601, allocations: 11.98 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.002617, allocations: 17.28 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.002634, allocations: 0 / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.002735, allocations: 35.84 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002737, allocations: 4.969 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002738, allocations: 4 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.002741, allocations: 0 / 0.8799 GB, free: 4.566 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.0003227/0.003064, allocations: 361.7 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.003098, allocations: 12.02 kB / 0.8802 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.003227, allocations: 13.92 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.003305, allocations: 112.6 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.003317, allocations: 384 / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.003327, allocations: 1.5 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.00344, allocations: 58.95 kB / 0.8804 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.003451, allocations: 4.172 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.003459, allocations: 1.156 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.003467, allocations: 384 / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.559e-05/0.003502, allocations: 17.48 kB / 0.8804 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.00377, allocations: 259.8 kB / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.00383, allocations: 39.05 kB / 0.8807 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.003852, allocations: 12.94 kB / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.003865, allocations: 0 / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.003883, allocations: 33.39 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.003884, allocations: 1.094 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.004019, allocations: 49.58 kB / 0.8808 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.004042, allocations: 52.06 kB / 0.8809 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.004108, allocations: 169.9 kB / 0.881 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.004117, allocations: 27.3 kB / 0.8811 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.004156, allocations: 130.9 kB / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.004173, allocations: 11.95 kB / 0.8812 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.004196, allocations: 15.38 kB / 0.8812 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.004294, allocations: 499.1 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.004309, allocations: 0 / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/0.004322, allocations: 4 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.085e-05/0.004352, allocations: 19.67 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004354, allocations: 4.188 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.932e-05/0.004403, allocations: 41.7 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.004415, allocations: 5.531 kB / 0.8818 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.00442, allocations: 7.938 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.004433, allocations: 0 / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.004496, allocations: 7.984 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.004501, allocations: 4.625 kB / 0.8818 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.004521, allocations: 3.938 kB / 0.8818 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.004526, allocations: 5.656 kB / 0.8818 GB, free: 2.426 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.004578, allocations: 152.6 kB / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.004593, allocations: 3.953 kB / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.00462, allocations: 20.45 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.004622, allocations: 0 / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.004625, allocations: 0 / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.004627, allocations: 0.625 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.647e-05/0.004713, allocations: 112.6 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004714, allocations: 8.219 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.004737, allocations: 7.938 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004738, allocations: 0 / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.004745, allocations: 4 kB / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.004747, allocations: 3.938 kB / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.3e-07/0.004747, allocations: 0 / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.743e-05/0.004835, allocations: 183.9 kB / 0.8823 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.004841, allocations: 7.953 kB / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-06/0.004851, allocations: 4 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.496e-05/0.004886, allocations: 11.92 kB / 0.8823 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.004915, allocations: 4.031 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.004916, allocations: 3.938 kB / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.156e-05/0.004948, allocations: 127.2 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.004948, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001353/0.005083, allocations: 8 kB / 0.8824 GB, free: 1.715 MB / 0.8386 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.961e-05/0.005143, allocations: 95.25 kB / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.944e-05/0.005223, allocations: 19.62 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.005224, allocations: 0 / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.902e-05/0.005243, allocations: 15.75 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.005417, allocations: 7.984 kB / 0.8826 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.005653, allocations: 122.3 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.005685, allocations: 59.34 kB / 0.8827 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.53e-05/0.0057, allocations: 0 / 0.8827 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.005729, allocations: 16.5 kB / 0.8827 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of SimCode: time 7.31e-07/0.00573, allocations: 4.062 kB / 0.8827 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of Templates: time 0.001927/0.007657, allocations: 0.6563 MB / 0.8834 GB, free: 0.6602 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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.367285644169897]