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.001246/0.001246, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001599/0.001599, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9987/0.9987, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.775/1.775, allocations: 359 MB / 0.6063 GB, free: 10.91 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.172e-06/1.172e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.111e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001763/0.001784, allocations: 1.539 MB / 0.7898 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00024/0.002024, allocations: 112.7 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.002055, allocations: 0 / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.0021, allocations: 4.969 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.002156, allocations: 13.33 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.002331, allocations: 23.91 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.0024, allocations: 47.84 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.002469, allocations: 0 / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.002526, allocations: 24.98 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.804e-05/0.002564, allocations: 23.95 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.002578, allocations: 4 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.002632, allocations: 21.55 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.00267, allocations: 15.92 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.574e-05/0.002686, allocations: 8 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.002787, allocations: 59.8 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.002789, allocations: 0.75 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002789, allocations: 0 / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.002793, allocations: 0.875 kB / 0.7902 GB, free: 10.32 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.0003029/0.003096, allocations: 392.4 kB / 0.7905 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.003123, allocations: 9.469 kB / 0.7905 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.003149, allocations: 8.891 kB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.151e-05/0.00322, allocations: 120.5 kB / 0.7907 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-06/0.003228, allocations: 2.281 kB / 0.7907 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.003236, allocations: 4.375 kB / 0.7907 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.003339, allocations: 70.86 kB / 0.7907 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-06/0.003344, allocations: 192 / 0.7907 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.00335, allocations: 384 / 0.7907 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.003354, allocations: 6.688 kB / 0.7907 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.003375, allocations: 7.938 kB / 0.7908 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.003584, allocations: 248.3 kB / 0.791 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.456e-05/0.003639, allocations: 39.11 kB / 0.791 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.003654, allocations: 11.69 kB / 0.791 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/0.00375, allocations: 26.36 kB / 0.7911 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.003769, allocations: 33.39 kB / 0.7911 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.00377, allocations: 0 / 0.7911 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001149/0.003884, allocations: 58.92 kB / 0.7912 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.003913, allocations: 51.41 kB / 0.7912 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.003984, allocations: 181.9 kB / 0.7914 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.003995, allocations: 33.7 kB / 0.7914 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.004036, allocations: 140.6 kB / 0.7915 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.004053, allocations: 15.94 kB / 0.7916 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.004079, allocations: 15.38 kB / 0.7916 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.004182, allocations: 0.4923 MB / 0.7921 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.004194, allocations: 4 kB / 0.7921 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.075e-05/0.004204, allocations: 4.797 kB / 0.7921 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.00423, allocations: 15.69 kB / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004232, allocations: 4.719 kB / 0.7921 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.837e-05/0.00429, allocations: 45.58 kB / 0.7921 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.004303, allocations: 9.938 kB / 0.7921 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.004306, allocations: 0 / 0.7921 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.884e-06/0.004314, allocations: 3.938 kB / 0.7921 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.004371, allocations: 12 kB / 0.7921 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.004373, allocations: 0 / 0.7921 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.004401, allocations: 18.27 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.004405, allocations: 0 / 0.7922 GB, free: 8.082 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 5.356e-05/0.004459, allocations: 156.6 kB / 0.7923 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.004477, allocations: 7.953 kB / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.004548, allocations: 53.61 kB / 0.7924 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.00455, allocations: 4.656 kB / 0.7924 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.004552, allocations: 0 / 0.7924 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.004555, allocations: 8.469 kB / 0.7924 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.065e-05/0.004646, allocations: 110.9 kB / 0.7925 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004647, allocations: 0 / 0.7925 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.004678, allocations: 11.98 kB / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004679, allocations: 0 / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.004683, allocations: 0 / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004683, allocations: 0.6562 kB / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004684, allocations: 1.312 kB / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.846e-05/0.004772, allocations: 199.8 kB / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-06/0.004777, allocations: 0 / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.004785, allocations: 0 / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.15e-05/0.004827, allocations: 9.141 kB / 0.7927 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.004854, allocations: 11.88 kB / 0.7927 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.004856, allocations: 0 / 0.7927 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.004895, allocations: 142.6 kB / 0.7929 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004895, allocations: 0 / 0.7929 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001466/0.005042, allocations: 16.8 kB / 0.7929 GB, free: 7.309 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 8.454e-05/0.005126, allocations: 100.9 kB / 0.793 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.388e-05/0.00519, allocations: 15.69 kB / 0.793 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.005191, allocations: 0 / 0.793 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.075e-05/0.005212, allocations: 19.75 kB / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.005375, allocations: 8.719 kB / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.005709, allocations: 156.4 kB / 0.7932 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.045e-05/0.005739, allocations: 59.34 kB / 0.7932 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.89e-05/0.005758, allocations: 4 kB / 0.7932 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.005806, allocations: 71.23 kB / 0.7933 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.005807, allocations: 0 / 0.7933 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.00224/0.008047, allocations: 0.9554 MB / 0.7942 GB, free: 5.898 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: 4.955224208999425]