Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006874/0.0006874, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004003/0.004003, allocations: 170 kB / 16.26 MB, free: 6.613 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.16/1.16, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.331/1.331, allocations: 252 MB / 0.5105 GB, free: 4.688 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.0004423/0.0004424, allocations: 15.98 kB / 0.6249 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3866, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001664/0.3883, allocations: 1.308 MB / 0.73 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000401/0.3887, allocations: 192.3 kB / 0.7302 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.3887, allocations: 0 / 0.7302 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.3888, allocations: 7.922 kB / 0.7302 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.3889, allocations: 11.88 kB / 0.7302 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.389, allocations: 35.95 kB / 0.7302 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3891, allocations: 99.64 kB / 0.7303 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3893, allocations: 48.91 kB / 0.7304 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.467e-05/0.3894, allocations: 39.84 kB / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.3895, allocations: 35.78 kB / 0.7305 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3895, allocations: 4 kB / 0.7305 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.3895, allocations: 0 / 0.7305 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.3895, allocations: 15.92 kB / 0.7305 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.3896, allocations: 65.42 kB / 0.7305 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3897, allocations: 117.5 kB / 0.7306 GB, free: 9.297 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3897, allocations: 3.938 kB / 0.7307 GB, free: 9.293 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3897, allocations: 4 kB / 0.7307 GB, free: 9.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.3897, allocations: 0 / 0.7307 GB, free: 9.289 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000738/0.3905, allocations: 459 kB / 0.7311 GB, free: 8.789 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.3905, allocations: 12.03 kB / 0.7311 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3906, allocations: 16.75 kB / 0.7311 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3907, allocations: 180.2 kB / 0.7313 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3907, allocations: 8.375 kB / 0.7313 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.3907, allocations: 4.375 kB / 0.7313 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3909, allocations: 105.3 kB / 0.7314 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.3909, allocations: 4.188 kB / 0.7314 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.391, allocations: 7.938 kB / 0.7314 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.391, allocations: 4 kB / 0.7314 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3911, allocations: 75.89 kB / 0.7315 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.3918, allocations: 408.4 kB / 0.7319 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.392, allocations: 70.5 kB / 0.7319 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.3921, allocations: 36.97 kB / 0.732 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3921, allocations: 0 / 0.732 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.3921, allocations: 34.56 kB / 0.732 GB, free: 7.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.3921, allocations: 3.938 kB / 0.732 GB, free: 7.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003244/0.3924, allocations: 129.5 kB / 0.7321 GB, free: 7.594 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.3925, allocations: 51.41 kB / 0.7322 GB, free: 7.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3926, allocations: 164.2 kB / 0.7323 GB, free: 7.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3926, allocations: 29.7 kB / 0.7324 GB, free: 7.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.3927, allocations: 108.2 kB / 0.7325 GB, free: 7.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3927, allocations: 11.81 kB / 0.7325 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.3927, allocations: 17.72 kB / 0.7325 GB, free: 7.184 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.3928, allocations: 318.8 kB / 0.7328 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.3929, allocations: 31.98 kB / 0.7328 GB, free: 6.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.01e-05/0.393, allocations: 39.97 kB / 0.7329 GB, free: 6.793 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.3931, allocations: 52.84 kB / 0.7329 GB, free: 6.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3932, allocations: 0 / 0.7329 GB, free: 6.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000199/0.3934, allocations: 105.7 kB / 0.733 GB, free: 6.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3934, allocations: 8 kB / 0.733 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3934, allocations: 0 / 0.733 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.3934, allocations: 0 / 0.733 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.3935, allocations: 11.98 kB / 0.7331 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3935, allocations: 8 kB / 0.7331 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3937, allocations: 39.88 kB / 0.7331 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.3937, allocations: 4 kB / 0.7331 GB, free: 6.559 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: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.512e-05/0.3938, allocations: 117.5 kB / 0.7332 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.3938, allocations: 11.91 kB / 0.7332 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.3938, allocations: 24.23 kB / 0.7332 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3939, allocations: 0 / 0.7332 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3939, allocations: 3.938 kB / 0.7333 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3939, allocations: 0 / 0.7333 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.394, allocations: 205.5 kB / 0.7334 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3941, allocations: 0 / 0.7334 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.3941, allocations: 19.92 kB / 0.7335 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3941, allocations: 0 / 0.7335 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3941, allocations: 0 / 0.7335 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3941, allocations: 4 kB / 0.7335 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3942, allocations: 3.938 kB / 0.7335 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3944, allocations: 187.7 kB / 0.7337 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.3944, allocations: 89.02 kB / 0.7337 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3944, allocations: 11.94 kB / 0.7337 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3946, allocations: 27.97 kB / 0.7338 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.3947, allocations: 23.89 kB / 0.7338 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.3947, allocations: 4 kB / 0.7338 GB, free: 5.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.131e-05/0.3948, allocations: 121.9 kB / 0.7339 GB, free: 5.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3948, allocations: 0 / 0.7339 GB, free: 5.633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002141/0.395, allocations: 12 kB / 0.7339 GB, free: 5.621 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.871e-05/0.3951, allocations: 99.19 kB / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3953, allocations: 75.97 kB / 0.7341 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3953, allocations: 4 kB / 0.7341 GB, free: 5.438 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.3954, allocations: 35.97 kB / 0.7341 GB, free: 5.402 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3957, allocations: 8.562 kB / 0.7341 GB, free: 5.395 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.3961, allocations: 243 kB / 0.7344 GB, free: 5.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3963, allocations: 0.7004 MB / 0.7351 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.041e-05/0.3964, allocations: 11.98 kB / 0.7351 GB, free: 4.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.3964, allocations: 7.438 kB / 0.7351 GB, free: 4.387 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.3964, allocations: 4 kB / 0.7351 GB, free: 4.383 MB / 0.545 GB Notification: Performance of Templates: time 0.002899/0.3993, allocations: 1.099 MB / 0.7362 GB, free: 3.297 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) Environment - environmentSimulation: