Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009283/0.0009283, allocations: 83.59 kB / 20.45 MB, free: 4.105 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.0009452/0.0009452, allocations: 165 kB / 23.82 MB, free: 0.7344 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.8995/0.8995, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.816/1.816, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.38e-05, allocations: 5.906 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00167/0.001684, allocations: 1.535 MB / 0.813 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002716/0.001955, allocations: 107.7 kB / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.001987, allocations: 1.25 kB / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.962e-05/0.002036, allocations: 7.922 kB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.978e-05/0.002096, allocations: 9.562 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.002313, allocations: 23.91 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.776e-05/0.00239, allocations: 39.86 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.002497, allocations: 15.97 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.002555, allocations: 24.89 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.002596, allocations: 15.98 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.002614, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.817e-05/0.002672, allocations: 20.67 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.002715, allocations: 12.83 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.002737, allocations: 15.98 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.002847, allocations: 47.81 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.002849, allocations: 0.6562 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00285, allocations: 4 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.002853, allocations: 0.9688 kB / 0.8134 GB, free: 15.85 MB / 0.7761 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.0003402/0.003193, allocations: 389.2 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.003231, allocations: 12.03 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.003269, allocations: 17.62 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.511e-05/0.003344, allocations: 116.5 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.003355, allocations: 4.375 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.003364, allocations: 5.625 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.003491, allocations: 62.94 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.003497, allocations: 6.172 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.003506, allocations: 384 / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.003512, allocations: 4.375 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.003548, allocations: 15.86 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.003827, allocations: 275.7 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.003895, allocations: 36.02 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.003922, allocations: 15.69 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.00406, allocations: 29.72 kB / 0.8143 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.004081, allocations: 37.39 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.004082, allocations: 1.531 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001616/0.004244, allocations: 57.52 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.004272, allocations: 51.41 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.004359, allocations: 183 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.00437, allocations: 27.33 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.004423, allocations: 138.9 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.004439, allocations: 7.953 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.004469, allocations: 27.38 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.00458, allocations: 497 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.004597, allocations: 4 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.00461, allocations: 4 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.004645, allocations: 21.33 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.004647, allocations: 0 / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.117e-05/0.004708, allocations: 49.59 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.004719, allocations: 7.938 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.004723, allocations: 0.5938 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.004735, allocations: 4.688 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.639e-05/0.004801, allocations: 11.98 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.004805, allocations: 0.6562 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.004829, allocations: 12.95 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.004835, allocations: 4 kB / 0.8154 GB, free: 13.56 MB / 0.7761 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.875e-05/0.004894, allocations: 157.1 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.004908, allocations: 7.953 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.025e-05/0.004999, allocations: 66.91 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.005004, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.005006, allocations: 384 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.005106, allocations: 129.8 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005107, allocations: 0 / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.005137, allocations: 11.98 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005138, allocations: 4.469 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.005146, allocations: 4.828 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.005148, allocations: 3.938 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005149, allocations: 0.8125 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.136e-05/0.005241, allocations: 203.9 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-06/0.005247, allocations: 4.938 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.005255, allocations: 0 / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.005292, allocations: 11.92 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.005326, allocations: 5.344 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005329, allocations: 0 / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.005369, allocations: 142.7 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005369, allocations: 0.7188 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001438/0.005513, allocations: 11.95 kB / 0.8162 GB, free: 12.75 MB / 0.7761 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 9.062e-05/0.005604, allocations: 105.2 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.585e-05/0.005679, allocations: 19.69 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.005681, allocations: 0 / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.005704, allocations: 19.61 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.005868, allocations: 8.75 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.006128, allocations: 153.6 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.006163, allocations: 63.2 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.031e-05/0.006184, allocations: 8 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.006206, allocations: 8.5 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.006207, allocations: 0 / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.0024/0.008607, allocations: 0.9274 MB / 0.8174 GB, free: 11.41 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.954665407072753]