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.001095/0.001095, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001125/0.001125, allocations: 173 kB / 23.49 MB, free: 1.055 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.9716/0.9716, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.113/2.113, allocations: 429.5 MB / 0.6736 GB, free: 4.004 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.323e-06/1.323e-06, allocations: 0 / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.5e-05, allocations: 3.938 kB / 0.8782 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002034/0.002059, allocations: 1.552 MB / 0.8797 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002685/0.002327, allocations: 108.4 kB / 0.8798 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.002365, allocations: 5.125 kB / 0.8798 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.907e-05/0.002414, allocations: 3.938 kB / 0.8798 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.059e-05/0.002475, allocations: 5.328 kB / 0.8798 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.002701, allocations: 27.91 kB / 0.8798 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.00278, allocations: 50.58 kB / 0.8799 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.002868, allocations: 7.984 kB / 0.8799 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.002927, allocations: 27.91 kB / 0.8799 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.002967, allocations: 11.98 kB / 0.8799 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.002982, allocations: 4 kB / 0.8799 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.007e-05/0.003042, allocations: 19.98 kB / 0.88 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.00309, allocations: 18.05 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.003112, allocations: 11.94 kB / 0.88 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003234, allocations: 51.86 kB / 0.88 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003235, allocations: 0 / 0.88 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003236, allocations: 0 / 0.88 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003241, allocations: 0 / 0.88 GB, free: 4.711 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.0003839/0.003625, allocations: 401 kB / 0.8804 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.003665, allocations: 13.62 kB / 0.8804 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.003864, allocations: 32.86 kB / 0.8805 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.018e-05/0.003954, allocations: 120.5 kB / 0.8806 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.003964, allocations: 0.875 kB / 0.8806 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.003975, allocations: 5.562 kB / 0.8806 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.004108, allocations: 66.92 kB / 0.8807 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.004114, allocations: 192 / 0.8807 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.004123, allocations: 1.969 kB / 0.8807 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.00413, allocations: 4.375 kB / 0.8807 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.724e-05/0.004167, allocations: 7.938 kB / 0.8807 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.004494, allocations: 295.8 kB / 0.881 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/0.004572, allocations: 35.06 kB / 0.881 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.004601, allocations: 11.69 kB / 0.881 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.004609, allocations: 0 / 0.881 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.00463, allocations: 37.39 kB / 0.881 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004631, allocations: 0 / 0.881 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001615/0.004792, allocations: 61.61 kB / 0.8811 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.004821, allocations: 51.41 kB / 0.8811 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.004906, allocations: 192.7 kB / 0.8813 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.004916, allocations: 29.7 kB / 0.8814 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.004965, allocations: 138.9 kB / 0.8815 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.004987, allocations: 19.91 kB / 0.8815 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.005015, allocations: 15.38 kB / 0.8815 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.005129, allocations: 0.4923 MB / 0.882 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.005153, allocations: 7.984 kB / 0.882 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.00517, allocations: 4 kB / 0.882 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.005212, allocations: 23.62 kB / 0.882 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005214, allocations: 0 / 0.882 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.58e-05/0.005289, allocations: 49.64 kB / 0.8821 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.005303, allocations: 7.938 kB / 0.8821 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005308, allocations: 4 kB / 0.8821 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.00532, allocations: 4 kB / 0.8821 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.005412, allocations: 11.98 kB / 0.8821 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.005417, allocations: 0 / 0.8821 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.005447, allocations: 11.88 kB / 0.8821 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.005453, allocations: 0 / 0.8821 GB, free: 2.383 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.857e-05/0.005522, allocations: 164.6 kB / 0.8823 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.005536, allocations: 336 / 0.8823 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.005562, allocations: 15.94 kB / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.005565, allocations: 7.984 kB / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.005568, allocations: 0 / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.005571, allocations: 0 / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.005676, allocations: 136.5 kB / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.005681, allocations: 7.984 kB / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.005715, allocations: 8 kB / 0.8824 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005717, allocations: 0 / 0.8824 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.005724, allocations: 0 / 0.8824 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.005726, allocations: 3.938 kB / 0.8824 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005727, allocations: 0 / 0.8824 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.00584, allocations: 191.9 kB / 0.8826 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.005849, allocations: 15.94 kB / 0.8826 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.00586, allocations: 0 / 0.8826 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.15e-05/0.005902, allocations: 7.938 kB / 0.8827 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.005943, allocations: 11.98 kB / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.005946, allocations: 0 / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.005992, allocations: 135.2 kB / 0.8828 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/0.005993, allocations: 4 kB / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001987/0.006191, allocations: 11.94 kB / 0.8828 GB, free: 1.609 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.554e-05/0.006277, allocations: 91.25 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.666e-05/0.006373, allocations: 27.67 kB / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.006376, allocations: 4 kB / 0.8829 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.528e-05/0.006402, allocations: 11.69 kB / 0.8829 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.006589, allocations: 4 kB / 0.8829 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.006897, allocations: 169.9 kB / 0.8831 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.006934, allocations: 59.34 kB / 0.8832 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.006959, allocations: 4 kB / 0.8832 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.006995, allocations: 12.5 kB / 0.8832 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of SimCode: time 8.11e-07/0.006996, allocations: 0 / 0.8832 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.002532/0.009527, allocations: 0.854 MB / 0.884 GB, free: 340 kB / 0.8386 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.310983295086771]