Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006647/0.006647, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 195.1 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.514/1.514, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.91 kB / 0.7258 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7402/0.7417, allocations: 104.7 MB / 0.8281 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002097/0.7438, allocations: 0.6614 MB / 0.8288 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001814/0.744, allocations: 7.938 kB / 0.8288 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.7441, allocations: 0 / 0.8288 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.7442, allocations: 7.922 kB / 0.8288 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.136e-05/0.7443, allocations: 4 kB / 0.8288 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 8.289e-05/0.7444, allocations: 0 / 0.8288 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.7445, allocations: 23.98 kB / 0.8288 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.7447, allocations: 47.84 kB / 0.8288 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.7447, allocations: 8 kB / 0.8288 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.7448, allocations: 23.86 kB / 0.8289 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.7448, allocations: 4 kB / 0.8289 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.7448, allocations: 4 kB / 0.8289 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.7448, allocations: 8 kB / 0.8289 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.7449, allocations: 19.86 kB / 0.8289 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.745, allocations: 43.81 kB / 0.8289 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.745, allocations: 3.938 kB / 0.829 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.455e-06/0.745, allocations: 4 kB / 0.829 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.7451, allocations: 0 / 0.829 GB, free: 1.66 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004854/0.7456, allocations: 347 kB / 0.8293 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.7456, allocations: 16.03 kB / 0.8293 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.7456, allocations: 8.828 kB / 0.8293 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.7459, allocations: 174.6 kB / 0.8295 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.7459, allocations: 16.25 kB / 0.8295 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.7459, allocations: 4.375 kB / 0.8295 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.7461, allocations: 74.22 kB / 0.8296 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.7461, allocations: 192 / 0.8296 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.7461, allocations: 7.938 kB / 0.8296 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.7461, allocations: 4 kB / 0.8296 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.7462, allocations: 47.97 kB / 0.8296 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/0.747, allocations: 491 kB / 0.8301 GB, free: 364 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.7471, allocations: 165.1 kB / 0.8302 GB, free: 188 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.7471, allocations: 84.14 kB / 0.8303 GB, free: 100 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.7472, allocations: 79.28 kB / 0.8304 GB, free: 20 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.021e-05/0.7473, allocations: 113.8 kB / 0.8305 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.7473, allocations: 0 / 0.8305 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 9.053e-05/0.7474, allocations: 29.7 kB / 0.8305 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.7475, allocations: 126.7 kB / 0.8307 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.7477, allocations: 169.7 kB / 0.8308 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.7477, allocations: 33.69 kB / 0.8309 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.7478, allocations: 92.05 kB / 0.8309 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-06/0.7478, allocations: 4 kB / 0.8309 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.7479, allocations: 13.83 kB / 0.831 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.7481, allocations: 326.8 kB / 0.8313 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.7481, allocations: 4 kB / 0.8313 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.7481, allocations: 11.98 kB / 0.8313 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.7482, allocations: 12.8 kB / 0.8313 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7482, allocations: 0 / 0.8313 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001357/0.7483, allocations: 61.64 kB / 0.8314 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.7484, allocations: 4 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.7484, allocations: 0 / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.7484, allocations: 0 / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.7485, allocations: 4 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.7485, allocations: 3.938 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.7485, allocations: 7.938 kB / 0.8314 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.7485, allocations: 4 kB / 0.8314 GB, free: 14.95 MB / 0.6387 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 (1): * Single equations (assignments): 1 * 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 0.0001142/0.7487, allocations: 198.2 kB / 0.8316 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.7487, allocations: 116.8 kB / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.7488, allocations: 120.8 kB / 0.8318 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-05/0.7489, allocations: 182.4 kB / 0.832 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.82e-05/0.749, allocations: 180.2 kB / 0.8321 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.681e-05/0.749, allocations: 176.3 kB / 0.8323 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.7493, allocations: 433.1 kB / 0.8327 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/0.7494, allocations: 101 kB / 0.8328 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.7494, allocations: 104.9 kB / 0.8329 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.7e-05/0.7495, allocations: 176.3 kB / 0.8331 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-05/0.7496, allocations: 180.3 kB / 0.8333 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.763e-05/0.7496, allocations: 188.2 kB / 0.8334 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.567e-05/0.7497, allocations: 192.2 kB / 0.8336 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.7499, allocations: 307.7 kB / 0.8339 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.75, allocations: 186.1 kB / 0.8341 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.7501, allocations: 184.2 kB / 0.8343 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.7502, allocations: 109 kB / 0.8344 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.7503, allocations: 184.1 kB / 0.8345 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.7503, allocations: 105 kB / 0.8346 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001137/0.7504, allocations: 134.5 kB / 0.8348 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7504, allocations: 0 / 0.8348 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002133/0.7506, allocations: 4 kB / 0.8348 GB, free: 11.24 MB / 0.6387 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 (0): * Single equations (assignments): 0 * 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 0.0002665/0.7509, allocations: 182.5 kB / 0.835 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.688e-05/0.751, allocations: 16.22 kB / 0.835 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.751, allocations: 0 / 0.835 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.751, allocations: 4 kB / 0.835 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.7515, allocations: 455.7 kB / 0.8354 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.7519, allocations: 224.1 kB / 0.8356 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.7522, allocations: 0.6961 MB / 0.8363 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.7522, allocations: 4 kB / 0.8363 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.7523, allocations: 11.44 kB / 0.8363 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of SimCode: time 2.11e-07/0.7523, allocations: 0 / 0.8363 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of Templates: time 0.002925/0.7552, allocations: 483 kB / 0.8368 GB, free: 9.129 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)