Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001012/0.001012, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00104/0.00104, allocations: 173 kB / 23.36 MB, free: 1.133 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.9977/0.9977, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.364/2.364, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8386 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.92e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001941/0.00196, allocations: 1.545 MB / 0.8401 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002776/0.002237, allocations: 119.5 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.002268, allocations: 0 / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.479e-05/0.002313, allocations: 3.938 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-05/0.002366, allocations: 11.88 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.002561, allocations: 19.97 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.271e-05/0.002634, allocations: 47.83 kB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.256e-05/0.002706, allocations: 8 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.002765, allocations: 23.92 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.002806, allocations: 19.97 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.002821, allocations: 4 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.002879, allocations: 19.98 kB / 0.8404 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.002917, allocations: 7.938 kB / 0.8404 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.002938, allocations: 23.91 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.003042, allocations: 43.83 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003044, allocations: 0 / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003044, allocations: 4 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003048, allocations: 0 / 0.8404 GB, free: 12.37 MB / 0.8073 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.0003106/0.003359, allocations: 276.7 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.00339, allocations: 12.62 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.003533, allocations: 24.92 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.294e-05/0.003616, allocations: 129.3 kB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.003627, allocations: 4.375 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.003636, allocations: 384 / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.00376, allocations: 69.77 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.003769, allocations: 4.188 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.003779, allocations: 384 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.003788, allocations: 384 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.003819, allocations: 15.86 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.004049, allocations: 167.1 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/0.004114, allocations: 77.28 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.004134, allocations: 12.92 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.004141, allocations: 0 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.004161, allocations: 42.5 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.004162, allocations: 0 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001109/0.004273, allocations: 49.84 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.004301, allocations: 51.41 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.824e-05/0.004359, allocations: 122.7 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.00437, allocations: 25.7 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.004398, allocations: 88.12 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.004421, allocations: 11.95 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.004446, allocations: 9.719 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.004521, allocations: 322.8 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.004536, allocations: 6.828 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/0.004547, allocations: 4 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.004581, allocations: 23.61 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004584, allocations: 0 / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.259e-05/0.004636, allocations: 41.69 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.004654, allocations: 8 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.004658, allocations: 0 / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.00467, allocations: 3.938 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.00474, allocations: 11.98 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.004743, allocations: 4 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.004769, allocations: 11.94 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.004774, allocations: 4 kB / 0.842 GB, free: 10.6 MB / 0.8073 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 5.492e-05/0.004829, allocations: 120.6 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.004843, allocations: 3.984 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.004866, allocations: 15.94 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.004869, allocations: 3.938 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.004871, allocations: 0 / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.004874, allocations: 0 / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.004968, allocations: 77.84 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004969, allocations: 0 / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.122e-05/0.005, allocations: 15.98 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.005001, allocations: 0 / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.005006, allocations: 4 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005007, allocations: 0 / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.005008, allocations: 3.984 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.803e-05/0.005106, allocations: 186.2 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-06/0.005112, allocations: 4 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.005122, allocations: 3.984 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.005156, allocations: 4 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.005188, allocations: 15.92 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.005191, allocations: 3.938 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.763e-05/0.005209, allocations: 20.84 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005209, allocations: 0 / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001102/0.005319, allocations: 8 kB / 0.8425 GB, free: 10.07 MB / 0.8073 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 8.419e-05/0.005403, allocations: 76.42 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.086e-05/0.005464, allocations: 12.86 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.005467, allocations: 0 / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.166e-05/0.005488, allocations: 21.16 kB / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.005616, allocations: 11.94 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.005851, allocations: 143.3 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.922e-05/0.00589, allocations: 67.28 kB / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.005912, allocations: 96 / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.005965, allocations: 55.38 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.005965, allocations: 0 / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of Templates: time 0.00213/0.008095, allocations: 0.7867 MB / 0.8436 GB, free: 8.855 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.277049098163843]