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.001076/0.001076, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001892/0.001892, allocations: 173 kB / 23.02 MB, free: 1.547 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.9246/0.9246, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.066/2.066, allocations: 429.5 MB / 0.6733 GB, free: 4.023 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.373e-06/1.373e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.961e-05, allocations: 5.953 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.005481/0.00551, allocations: 1.547 MB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003093/0.00582, allocations: 116.6 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.005851, allocations: 0 / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.226e-05/0.005904, allocations: 3.938 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.005967, allocations: 7.984 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.006209, allocations: 23.97 kB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.249e-05/0.006301, allocations: 44.72 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.006393, allocations: 4 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.006456, allocations: 29.44 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.006501, allocations: 15.97 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.006517, allocations: 4 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.006586, allocations: 19.98 kB / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.006634, allocations: 12.97 kB / 0.88 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.00666, allocations: 15.92 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.006797, allocations: 51.88 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.0068, allocations: 5.062 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006801, allocations: 0 / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.006805, allocations: 0 / 0.88 GB, free: 4.422 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.0004411/0.007246, allocations: 397.4 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.007288, allocations: 8.031 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.007501, allocations: 37.98 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.007601, allocations: 117.4 kB / 0.8806 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.007612, allocations: 4.312 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.007624, allocations: 6.031 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.007774, allocations: 62.94 kB / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.007781, allocations: 192 / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.007791, allocations: 4.375 kB / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.007799, allocations: 0.875 kB / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.007847, allocations: 19.86 kB / 0.8807 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.01124, allocations: 281.7 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.793e-05/0.01133, allocations: 35.05 kB / 0.881 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.01136, allocations: 16.94 kB / 0.881 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.01137, allocations: 4 kB / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.0114, allocations: 33.39 kB / 0.881 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.0114, allocations: 1.094 kB / 0.881 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001858/0.01158, allocations: 61.61 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.01162, allocations: 51.41 kB / 0.8811 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.01171, allocations: 190.2 kB / 0.8813 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.01173, allocations: 29.7 kB / 0.8813 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.01178, allocations: 134.9 kB / 0.8815 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.01181, allocations: 23.88 kB / 0.8815 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.01184, allocations: 22.06 kB / 0.8815 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003834/0.01223, allocations: 0.4884 MB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.01225, allocations: 4 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.01228, allocations: 11.98 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.01232, allocations: 19.62 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01233, allocations: 0 / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.415e-05/0.01242, allocations: 49.64 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01244, allocations: 13.78 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.01244, allocations: 0 / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.01246, allocations: 336 / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.01256, allocations: 15.98 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01256, allocations: 0 / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.0126, allocations: 12.66 kB / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.01261, allocations: 0.625 kB / 0.8821 GB, free: 2.105 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 7.671e-05/0.01268, allocations: 157.5 kB / 0.8823 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.01271, allocations: 11.92 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.01275, allocations: 15.92 kB / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01275, allocations: 7.938 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01276, allocations: 0 / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01276, allocations: 0 / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.0129, allocations: 132.6 kB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.0129, allocations: 0 / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.01295, allocations: 11.98 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01295, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.01296, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.01296, allocations: 3.938 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.01297, allocations: 4 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.01308, allocations: 191.9 kB / 0.8826 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.01309, allocations: 7.953 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.01311, allocations: 4 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.01315, allocations: 11.92 kB / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.01318, allocations: 7.984 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.01319, allocations: 0 / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.25e-05/0.01323, allocations: 143.1 kB / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01323, allocations: 0 / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001374/0.01337, allocations: 8 kB / 0.8828 GB, free: 1.336 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.851e-05/0.01346, allocations: 95.25 kB / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.886e-05/0.01355, allocations: 27.67 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01356, allocations: 0 / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.443e-05/0.01358, allocations: 11.69 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.01377, allocations: 8 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.01408, allocations: 165.9 kB / 0.8831 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.01411, allocations: 55.36 kB / 0.8831 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.01414, allocations: 7.984 kB / 0.8831 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.01418, allocations: 16.5 kB / 0.8832 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.01418, allocations: 0 / 0.8832 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of Templates: time 0.002467/0.01664, allocations: 0.8938 MB / 0.884 GB, free: 4 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.306731862016022]