Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009891/0.0009888, allocations: 91.84 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.009895/0.009895, allocations: 169.9 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.635/1.635, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.568/1.568, allocations: 252 MB / 0.5105 GB, free: 4.625 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.0004979/0.000498, allocations: 16 kB / 0.6249 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5859, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001969/0.5879, allocations: 1.187 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005434/0.5885, allocations: 216.3 kB / 0.7301 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.5886, allocations: 8 kB / 0.7301 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.5886, allocations: 3.938 kB / 0.7301 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.026e-05/0.5887, allocations: 7.922 kB / 0.7301 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.5889, allocations: 15.98 kB / 0.7301 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.778e-05/0.589, allocations: 59.78 kB / 0.7302 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.5892, allocations: 8 kB / 0.7302 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.235e-05/0.5892, allocations: 19.92 kB / 0.7302 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.5893, allocations: 27.89 kB / 0.7303 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.5894, allocations: 8 kB / 0.7303 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.5894, allocations: 0 / 0.7303 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.5894, allocations: 7.938 kB / 0.7303 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.5895, allocations: 53.5 kB / 0.7303 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.5896, allocations: 51.78 kB / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5896, allocations: 0 / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5896, allocations: 0 / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.5896, allocations: 0 / 0.7304 GB, free: 9.559 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005802/0.5902, allocations: 385.3 kB / 0.7307 GB, free: 9.133 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5902, allocations: 12.03 kB / 0.7307 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.5903, allocations: 8.844 kB / 0.7308 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.5904, allocations: 176.2 kB / 0.7309 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.5905, allocations: 384 / 0.7309 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.5905, allocations: 4.375 kB / 0.7309 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.5907, allocations: 74.22 kB / 0.731 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.5907, allocations: 192 / 0.731 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.5907, allocations: 7.938 kB / 0.731 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5907, allocations: 0 / 0.731 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.5909, allocations: 63.89 kB / 0.7311 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.5914, allocations: 300.8 kB / 0.7314 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.5919, allocations: 122.5 kB / 0.7315 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.592, allocations: 40.95 kB / 0.7315 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.592, allocations: 4 kB / 0.7315 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.5923, allocations: 87.38 kB / 0.7316 GB, free: 8.133 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.5923, allocations: 4 kB / 0.7316 GB, free: 8.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004683/0.5928, allocations: 137.5 kB / 0.7317 GB, free: 7.988 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.5928, allocations: 59.34 kB / 0.7318 GB, free: 7.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.5929, allocations: 121.8 kB / 0.7319 GB, free: 7.789 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.593, allocations: 29.7 kB / 0.7319 GB, free: 7.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.593, allocations: 92.05 kB / 0.732 GB, free: 7.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.5931, allocations: 11.84 kB / 0.732 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.5931, allocations: 21.7 kB / 0.7321 GB, free: 7.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5932, allocations: 318.8 kB / 0.7324 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.5934, allocations: 39.97 kB / 0.7324 GB, free: 7.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.5935, allocations: 63.41 kB / 0.7325 GB, free: 7.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.5937, allocations: 87.34 kB / 0.7325 GB, free: 7.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5937, allocations: 0 / 0.7325 GB, free: 7.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002816/0.594, allocations: 125.5 kB / 0.7327 GB, free: 6.961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.594, allocations: 13.66 kB / 0.7327 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5941, allocations: 320 / 0.7327 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5941, allocations: 3.938 kB / 0.7327 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.5942, allocations: 19.98 kB / 0.7327 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5942, allocations: 4 kB / 0.7327 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.274e-05/0.5943, allocations: 23.98 kB / 0.7327 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.5943, allocations: 3.984 kB / 0.7327 GB, free: 6.895 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,change.y,change.u,$PRE.change.u,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001013/0.5944, allocations: 121.8 kB / 0.7328 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.5944, allocations: 0 / 0.7328 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.5945, allocations: 16.36 kB / 0.7329 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5945, allocations: 0 / 0.7329 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5945, allocations: 4.562 kB / 0.7329 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5945, allocations: 3.938 kB / 0.7329 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.595, allocations: 374.4 kB / 0.7332 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.595, allocations: 64 / 0.7332 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/0.5951, allocations: 19.98 kB / 0.7332 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5951, allocations: 0 / 0.7332 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.5951, allocations: 3.938 kB / 0.7332 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5951, allocations: 4 kB / 0.7333 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.5951, allocations: 3.938 kB / 0.7333 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.5954, allocations: 211.4 kB / 0.7335 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.5955, allocations: 81.02 kB / 0.7335 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.5955, allocations: 4 kB / 0.7335 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5956, allocations: 15.98 kB / 0.7336 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.5957, allocations: 11.92 kB / 0.7336 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.5957, allocations: 8 kB / 0.7336 GB, free: 5.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.5958, allocations: 91.27 kB / 0.7337 GB, free: 5.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5958, allocations: 0 / 0.7337 GB, free: 5.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002398/0.596, allocations: 19.94 kB / 0.7337 GB, free: 5.82 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: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001494/0.5962, allocations: 99.23 kB / 0.7338 GB, free: 5.715 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.5965, allocations: 83.89 kB / 0.7339 GB, free: 5.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5965, allocations: 0 / 0.7339 GB, free: 5.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.5966, allocations: 43.92 kB / 0.7339 GB, free: 5.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.5969, allocations: 8.172 kB / 0.7339 GB, free: 5.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.5973, allocations: 186.5 kB / 0.7341 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.5976, allocations: 0.6809 MB / 0.7347 GB, free: 4.664 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.998e-05/0.5977, allocations: 11.84 kB / 0.7348 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.5977, allocations: 15.44 kB / 0.7348 GB, free: 4.637 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.5977, allocations: 0 / 0.7348 GB, free: 4.637 MB / 0.545 GB Notification: Performance of Templates: time 0.003505/0.6012, allocations: 0.7689 MB / 0.7355 GB, free: 3.879 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) Environment - environmentSimulation: