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.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001663/0.001663, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.648/1.648, allocations: 252 MB / 0.5102 GB, free: 4.824 MB / 414.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.0008235/0.0008237, allocations: 16 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7606/0.7615, allocations: 106.3 MB / 0.7282 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001953/0.7635, allocations: 1.258 MB / 0.7294 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006609/0.7642, allocations: 324 kB / 0.7297 GB, free: 10 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.7642, allocations: 0 / 0.7297 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.7643, allocations: 7.922 kB / 0.7297 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.7644, allocations: 11.88 kB / 0.7297 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.7648, allocations: 75.84 kB / 0.7298 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.7649, allocations: 103.7 kB / 0.7299 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.7651, allocations: 37.33 kB / 0.7299 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.7652, allocations: 43.83 kB / 0.73 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.7653, allocations: 43.77 kB / 0.73 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.7653, allocations: 4 kB / 0.73 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.7654, allocations: 51.95 kB / 0.7301 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.7655, allocations: 31.84 kB / 0.7301 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.7655, allocations: 37.64 kB / 0.7301 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.7657, allocations: 129.8 kB / 0.7302 GB, free: 9.426 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.7657, allocations: 0 / 0.7302 GB, free: 9.426 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7658, allocations: 0 / 0.7302 GB, free: 9.426 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.7658, allocations: 4 kB / 0.7302 GB, free: 9.422 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008598/0.7666, allocations: 490.8 kB / 0.7307 GB, free: 8.895 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.7667, allocations: 12.02 kB / 0.7307 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.7667, allocations: 15.81 kB / 0.7307 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.767, allocations: 210.6 kB / 0.7309 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.767, allocations: 4 kB / 0.7309 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.767, allocations: 8 kB / 0.731 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.7675, allocations: 217.4 kB / 0.7312 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.7676, allocations: 0 / 0.7312 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.7676, allocations: 4 kB / 0.7312 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.7676, allocations: 8 kB / 0.7312 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/0.7683, allocations: 257.5 kB / 0.7314 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009391/0.7693, allocations: 492.3 kB / 0.7319 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.7697, allocations: 170.4 kB / 0.732 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.77, allocations: 156.9 kB / 0.7322 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.77, allocations: 0 / 0.7322 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.7701, allocations: 38.52 kB / 0.7322 GB, free: 7.219 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.143e-06/0.7701, allocations: 0 / 0.7322 GB, free: 7.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.001185/0.7713, allocations: 477.2 kB / 0.7327 GB, free: 6.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.7713, allocations: 51.41 kB / 0.7327 GB, free: 6.684 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.7715, allocations: 149.5 kB / 0.7329 GB, free: 6.531 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.034e-05/0.7715, allocations: 29.64 kB / 0.7329 GB, free: 6.496 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.7716, allocations: 120.2 kB / 0.733 GB, free: 6.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.7717, allocations: 43.34 kB / 0.7331 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.7717, allocations: 7.984 kB / 0.7331 GB, free: 6.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.7719, allocations: 322.8 kB / 0.7334 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.7722, allocations: 139.9 kB / 0.7335 GB, free: 5.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.7726, allocations: 135.9 kB / 0.7336 GB, free: 5.727 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.773, allocations: 154.8 kB / 0.7338 GB, free: 5.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.773, allocations: 0 / 0.7338 GB, free: 5.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007406/0.7737, allocations: 321.4 kB / 0.7341 GB, free: 5.258 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.7737, allocations: 7.984 kB / 0.7341 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.7738, allocations: 3.953 kB / 0.7341 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.7738, allocations: 4 kB / 0.7341 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.774, allocations: 51.95 kB / 0.7342 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.774, allocations: 0 / 0.7342 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.7742, allocations: 55.73 kB / 0.7342 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.7742, allocations: 4 kB / 0.7342 GB, free: 5.133 MB / 0.545 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 (7): * Single equations (assignments): 5 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.7743, allocations: 125.8 kB / 0.7343 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.7744, allocations: 11.81 kB / 0.7344 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.7744, allocations: 16.84 kB / 0.7344 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.7744, allocations: 15.94 kB / 0.7344 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.7745, allocations: 0 / 0.7344 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7745, allocations: 0 / 0.7344 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.7747, allocations: 225.6 kB / 0.7346 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7748, allocations: 0 / 0.7346 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.775, allocations: 51.95 kB / 0.7346 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.775, allocations: 0 / 0.7346 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.775, allocations: 7.938 kB / 0.7347 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.775, allocations: 0 / 0.7347 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.775, allocations: 3.953 kB / 0.7347 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.7758, allocations: 443 kB / 0.7351 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.7758, allocations: 81.02 kB / 0.7352 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.7759, allocations: 4 kB / 0.7352 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.776, allocations: 43.95 kB / 0.7352 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.7761, allocations: 15.94 kB / 0.7352 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.7761, allocations: 4 kB / 0.7352 GB, free: 4.012 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.685e-05/0.7762, allocations: 107.2 kB / 0.7353 GB, free: 3.906 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7762, allocations: 0 / 0.7353 GB, free: 3.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002988/0.7765, allocations: 43.84 kB / 0.7354 GB, free: 3.863 MB / 0.545 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 (7): * Single equations (assignments): 5 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00031/0.7768, allocations: 123.2 kB / 0.7355 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008484/0.7777, allocations: 312 kB / 0.7358 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7777, allocations: 0 / 0.7358 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.7781, allocations: 160 kB / 0.7359 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.7785, allocations: 24.14 kB / 0.736 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/0.7792, allocations: 366 kB / 0.7363 GB, free: 2.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.7795, allocations: 0.7162 MB / 0.737 GB, free: 2.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.203e-05/0.7796, allocations: 19.97 kB / 0.737 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.7796, allocations: 15.42 kB / 0.737 GB, free: 2.086 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.7796, allocations: 4 kB / 0.737 GB, free: 2.082 MB / 0.545 GB Notification: Performance of Templates: time 0.004333/0.784, allocations: 1.513 MB / 0.7385 GB, free: 0.5898 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) Environment - environmentSimulation: