Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009052/0.0009052, 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.001024/0.001024, allocations: 166.2 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.9303/0.9303, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.808/1.808, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.675e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002489/0.002506, allocations: 1.499 MB / 0.7898 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002581/0.002764, allocations: 84.36 kB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.002804, allocations: 1.062 kB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.002835, allocations: 3.938 kB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.002883, allocations: 0.5312 kB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.003075, allocations: 16.77 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.00315, allocations: 31.86 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.003239, allocations: 8.656 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.428e-05/0.003293, allocations: 12 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.003332, allocations: 13.14 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.003348, allocations: 3.938 kB / 0.79 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.676e-05/0.003405, allocations: 11.98 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.003426, allocations: 8.531 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.00344, allocations: 7.984 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.003544, allocations: 32.7 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.003548, allocations: 4 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003548, allocations: 0.8438 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.003551, allocations: 0 / 0.79 GB, free: 10.49 MB / 0.7448 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.0003404/0.003892, allocations: 362.1 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.003929, allocations: 8.031 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.004074, allocations: 12.92 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.065e-05/0.004165, allocations: 112.6 kB / 0.7905 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.004179, allocations: 9.469 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.004186, allocations: 384 / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.004308, allocations: 55.56 kB / 0.7906 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004314, allocations: 4.125 kB / 0.7906 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004322, allocations: 7.094 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004327, allocations: 384 / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.381e-05/0.004361, allocations: 15.86 kB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.004635, allocations: 236.5 kB / 0.7908 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.004703, allocations: 31.06 kB / 0.7908 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.004724, allocations: 11.75 kB / 0.7908 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.004734, allocations: 1.5 kB / 0.7908 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.004763, allocations: 37.33 kB / 0.7909 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.004764, allocations: 0 / 0.7909 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.004911, allocations: 50.16 kB / 0.7909 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.004945, allocations: 52.12 kB / 0.791 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.00503, allocations: 165.9 kB / 0.7911 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.005043, allocations: 26.23 kB / 0.7912 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.005093, allocations: 130.8 kB / 0.7913 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.00511, allocations: 1.625 kB / 0.7913 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.005149, allocations: 27.36 kB / 0.7913 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.005289, allocations: 496.1 kB / 0.7918 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.005306, allocations: 4 kB / 0.7918 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.00532, allocations: 0.5938 kB / 0.7918 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.005358, allocations: 20.31 kB / 0.7918 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.00536, allocations: 0.9375 kB / 0.7918 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.33e-05/0.005433, allocations: 37.66 kB / 0.7918 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.005446, allocations: 9.016 kB / 0.7919 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.005451, allocations: 4 kB / 0.7919 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.005461, allocations: 5.312 kB / 0.7919 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.005528, allocations: 8 kB / 0.7919 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.005531, allocations: 0 / 0.7919 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.692e-05/0.005568, allocations: 17.73 kB / 0.7919 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.005573, allocations: 0 / 0.7919 GB, free: 8.387 MB / 0.7448 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 7.105e-05/0.005644, allocations: 152.6 kB / 0.792 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.005671, allocations: 7.938 kB / 0.792 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.005695, allocations: 3.625 kB / 0.792 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.005698, allocations: 5.531 kB / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005699, allocations: 0 / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005701, allocations: 0 / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.005842, allocations: 113.2 kB / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005843, allocations: 0.9375 kB / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.00588, allocations: 4 kB / 0.7922 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.005881, allocations: 2.125 kB / 0.7922 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.005886, allocations: 0 / 0.7922 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.005888, allocations: 3.984 kB / 0.7922 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005889, allocations: 4 kB / 0.7922 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.006015, allocations: 183.8 kB / 0.7923 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.006023, allocations: 6.219 kB / 0.7924 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.006033, allocations: 0 / 0.7924 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.006102, allocations: 7.984 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.006134, allocations: 4 kB / 0.7924 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.00614, allocations: 11.86 kB / 0.7924 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.537e-05/0.006185, allocations: 127.2 kB / 0.7925 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006185, allocations: 0.5 kB / 0.7925 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000256/0.006441, allocations: 4.531 kB / 0.7925 GB, free: 7.711 MB / 0.7448 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 8.673e-05/0.006528, allocations: 97.16 kB / 0.7926 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.174e-05/0.00661, allocations: 15.69 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006611, allocations: 0 / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.00664, allocations: 18.23 kB / 0.7926 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.006909, allocations: 8 kB / 0.7926 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.00717, allocations: 126.2 kB / 0.7928 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.102e-05/0.007211, allocations: 63.28 kB / 0.7928 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.007234, allocations: 1.062 kB / 0.7928 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.00729, allocations: 74.83 kB / 0.7929 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.007291, allocations: 0 / 0.7929 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.002669/0.00996, allocations: 0.7295 MB / 0.7936 GB, free: 6.551 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.921763050369918]