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.0009859/0.0009859, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009996/0.0009996, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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 1.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.116/2.116, allocations: 429.5 MB / 0.6743 GB, free: 3.871 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.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.663e-06/1.663e-06, allocations: 0 / 0.8794 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.291e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001997/0.00202, allocations: 1.55 MB / 0.8809 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002489/0.002269, allocations: 101.7 kB / 0.881 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.002301, allocations: 0 / 0.881 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.041e-05/0.002351, allocations: 8.766 kB / 0.881 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.002413, allocations: 18.58 kB / 0.881 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.002606, allocations: 19.97 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.002674, allocations: 44.83 kB / 0.8811 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.002752, allocations: 7.984 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.002807, allocations: 20.86 kB / 0.8811 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.002846, allocations: 19.92 kB / 0.8811 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.00286, allocations: 4 kB / 0.8811 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.085e-05/0.002921, allocations: 28.92 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.002962, allocations: 11.94 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.002979, allocations: 13.02 kB / 0.8812 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.003085, allocations: 55.75 kB / 0.8812 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003086, allocations: 0 / 0.8812 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003087, allocations: 1.125 kB / 0.8812 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.003091, allocations: 0 / 0.8812 GB, free: 4.078 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000335/0.003426, allocations: 393.5 kB / 0.8816 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.003457, allocations: 12.02 kB / 0.8816 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.003605, allocations: 25.91 kB / 0.8817 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.9e-05/0.003694, allocations: 131.8 kB / 0.8818 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.003704, allocations: 1.094 kB / 0.8818 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.003712, allocations: 4.375 kB / 0.8818 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.00382, allocations: 67.45 kB / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.003826, allocations: 1.625 kB / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.003832, allocations: 384 / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.00384, allocations: 4.375 kB / 0.8819 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.003867, allocations: 11.88 kB / 0.8819 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.004115, allocations: 253.7 kB / 0.8821 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.985e-05/0.004175, allocations: 40.22 kB / 0.8822 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.004196, allocations: 15.77 kB / 0.8822 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.004204, allocations: 0.6562 kB / 0.8822 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.004225, allocations: 33.39 kB / 0.8822 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.004226, allocations: 1.219 kB / 0.8822 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001271/0.004353, allocations: 65.45 kB / 0.8823 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.004379, allocations: 51.41 kB / 0.8823 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.004457, allocations: 179.3 kB / 0.8825 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.004467, allocations: 25.7 kB / 0.8825 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.004517, allocations: 142.8 kB / 0.8826 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.004535, allocations: 11.91 kB / 0.8827 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.004564, allocations: 22.81 kB / 0.8827 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.004673, allocations: 0.4962 MB / 0.8832 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.004687, allocations: 0 / 0.8832 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.004701, allocations: 4.188 kB / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.004735, allocations: 27.7 kB / 0.8832 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004736, allocations: 0 / 0.8832 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.097e-05/0.004797, allocations: 45.64 kB / 0.8832 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.004808, allocations: 4 kB / 0.8832 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.004812, allocations: 0 / 0.8832 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.004821, allocations: 9.031 kB / 0.8832 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.00489, allocations: 15.98 kB / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.004892, allocations: 0 / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.004922, allocations: 9.469 kB / 0.8833 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.004927, allocations: 4 kB / 0.8833 GB, free: 1.816 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): 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.27e-05/0.00499, allocations: 156.6 kB / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.005008, allocations: 5.156 kB / 0.8834 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.005029, allocations: 15.94 kB / 0.8834 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.005031, allocations: 3.938 kB / 0.8835 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005033, allocations: 4 kB / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.005035, allocations: 0 / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.952e-05/0.005134, allocations: 113.2 kB / 0.8836 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.005135, allocations: 0 / 0.8836 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.005172, allocations: 11.98 kB / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.005174, allocations: 0 / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.005178, allocations: 0 / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005179, allocations: 4 kB / 0.8836 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.005179, allocations: 0 / 0.8836 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.005282, allocations: 195.9 kB / 0.8838 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.00529, allocations: 11.95 kB / 0.8838 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.005299, allocations: 3.938 kB / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.005341, allocations: 7.984 kB / 0.8838 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.005377, allocations: 7.938 kB / 0.8838 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.00538, allocations: 3.938 kB / 0.8838 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.005423, allocations: 139.2 kB / 0.8839 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005423, allocations: 0 / 0.8839 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001445/0.005568, allocations: 8 kB / 0.8839 GB, free: 1.082 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 (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.172e-05/0.00565, allocations: 95.23 kB / 0.884 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.485e-05/0.005724, allocations: 23.69 kB / 0.8841 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.005726, allocations: 0 / 0.8841 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.005749, allocations: 15.67 kB / 0.8841 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.005931, allocations: 12 kB / 0.8841 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.006168, allocations: 157.9 kB / 0.8842 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.0062, allocations: 59.34 kB / 0.8843 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.006223, allocations: 4 kB / 0.8843 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.006279, allocations: 74.19 kB / 0.8844 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of SimCode: time 6.92e-07/0.00628, allocations: 4 kB / 0.8844 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of Templates: time 0.002934/0.009214, allocations: 0.9373 MB / 0.8853 GB, free: 15.65 MB / 0.8542 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.289266524836421]