Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.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.001297/0.001297, 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.001117/0.001117, 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.9438/0.9438, 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 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.805/1.805, allocations: 359 MB / 0.6052 GB, free: 11.02 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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.12e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001859/0.001881, allocations: 1.532 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002728/0.002153, allocations: 104.3 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.002186, allocations: 0 / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.286e-05/0.002239, allocations: 5.094 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.129e-05/0.0023, allocations: 19.84 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.002511, allocations: 16.55 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.001e-05/0.002591, allocations: 52.56 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.238e-05/0.002673, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.002727, allocations: 28.81 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.00277, allocations: 19.97 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.002787, allocations: 4.656 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.002846, allocations: 19.98 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.002891, allocations: 16.52 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.002911, allocations: 8 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.003031, allocations: 61.39 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003033, allocations: 0 / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003033, allocations: 0 / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003037, allocations: 0 / 0.7889 GB, free: 10.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003659/0.003403, allocations: 393.9 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.003444, allocations: 8.031 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.003483, allocations: 8.891 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.387e-05/0.003567, allocations: 126.1 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.003578, allocations: 384 / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.003589, allocations: 4.375 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.003726, allocations: 62.94 kB / 0.7895 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.003736, allocations: 3.656 kB / 0.7895 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.003746, allocations: 4.359 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.003754, allocations: 4.375 kB / 0.7895 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.301e-05/0.003787, allocations: 11.88 kB / 0.7895 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.004092, allocations: 271.8 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.926e-05/0.004161, allocations: 31.06 kB / 0.7898 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.004189, allocations: 19.77 kB / 0.7898 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.004327, allocations: 33.19 kB / 0.7899 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.004348, allocations: 33.39 kB / 0.7899 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004349, allocations: 8.594 kB / 0.7899 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001629/0.004512, allocations: 49.62 kB / 0.79 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.004536, allocations: 56.62 kB / 0.79 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.004619, allocations: 180.4 kB / 0.7902 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.004627, allocations: 25.7 kB / 0.7902 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.004676, allocations: 147.4 kB / 0.7904 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.004693, allocations: 9.078 kB / 0.7904 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.004722, allocations: 23.38 kB / 0.7904 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.004829, allocations: 0.4923 MB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.004849, allocations: 4.875 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.004863, allocations: 4 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.37e-05/0.004896, allocations: 15.62 kB / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004898, allocations: 0.5938 kB / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.555e-05/0.004964, allocations: 50.8 kB / 0.7909 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.004977, allocations: 7.938 kB / 0.791 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.004981, allocations: 4 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.004995, allocations: 0.75 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.005069, allocations: 11.98 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.005073, allocations: 1.188 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.005099, allocations: 11.92 kB / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.005104, allocations: 0 / 0.791 GB, free: 8.312 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 (3): * Single equations (assignments): 3 * 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 6.035e-05/0.005165, allocations: 162.8 kB / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.005182, allocations: 7.891 kB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.758e-05/0.005279, allocations: 57.61 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.005282, allocations: 3.984 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.005286, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005289, allocations: 6.781 kB / 0.7912 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.005439, allocations: 133 kB / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.00544, allocations: 0 / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.005486, allocations: 11.98 kB / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.005488, allocations: 0 / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.005494, allocations: 0 / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.005495, allocations: 3.938 kB / 0.7913 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005496, allocations: 5.5 kB / 0.7914 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.005601, allocations: 199.8 kB / 0.7915 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-06/0.005608, allocations: 4 kB / 0.7915 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.005619, allocations: 3.938 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.005659, allocations: 16.42 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.005698, allocations: 0.5 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.005702, allocations: 4 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.00575, allocations: 135.7 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00575, allocations: 1.375 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000158/0.005908, allocations: 15.95 kB / 0.7917 GB, free: 7.492 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 (3): * Single equations (assignments): 3 * 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 0.0001342/0.006042, allocations: 99.23 kB / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.954e-05/0.006142, allocations: 20.31 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.006143, allocations: 5.906 kB / 0.7918 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.451e-05/0.006168, allocations: 15.67 kB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.006373, allocations: 9.656 kB / 0.7919 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.006679, allocations: 154.6 kB / 0.792 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.006718, allocations: 64.47 kB / 0.7921 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.006737, allocations: 0 / 0.7921 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.006763, allocations: 13.5 kB / 0.7921 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.006763, allocations: 0 / 0.7921 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of Templates: time 0.002759/0.009522, allocations: 0.8583 MB / 0.7929 GB, free: 6.234 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.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.124334475025535]