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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 192 kB / 16.53 MB, free: 6.391 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.691/1.691, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.859/1.859, allocations: 251.7 MB / 0.5092 GB, free: 3.133 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.001407/0.001407, allocations: 79.88 kB / 0.6223 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6202/0.6216, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.004112/0.6258, allocations: 1.433 MB / 0.7259 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006716/0.6265, allocations: 224.2 kB / 0.7261 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.6266, allocations: 0 / 0.7261 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.577e-05/0.6266, allocations: 7.922 kB / 0.7262 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.6268, allocations: 23.8 kB / 0.7262 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.627, allocations: 19.97 kB / 0.7262 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.6271, allocations: 91.66 kB / 0.7263 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.6273, allocations: 16.17 kB / 0.7263 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.6274, allocations: 31.91 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.6275, allocations: 31.84 kB / 0.7264 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.6275, allocations: 8 kB / 0.7264 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.803e-05/0.6276, allocations: 4 kB / 0.7264 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.6276, allocations: 19.92 kB / 0.7264 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.6277, allocations: 27.86 kB / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.6279, allocations: 85.72 kB / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6279, allocations: 0 / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6279, allocations: 0 / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.6279, allocations: 0 / 0.7265 GB, free: 10.91 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008093/0.6287, allocations: 399 kB / 0.7269 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6288, allocations: 12.03 kB / 0.7269 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.6288, allocations: 8.844 kB / 0.7269 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.6291, allocations: 180.2 kB / 0.7271 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.6291, allocations: 8.375 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.6291, allocations: 12.36 kB / 0.7271 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.6293, allocations: 58.23 kB / 0.7271 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.6293, allocations: 7.875 kB / 0.7272 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.6293, allocations: 0 / 0.7272 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.6294, allocations: 0 / 0.7272 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.6295, allocations: 31.98 kB / 0.7272 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.63, allocations: 308.8 kB / 0.7275 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.809e-05/0.6301, allocations: 50.59 kB / 0.7275 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.6302, allocations: 28.84 kB / 0.7276 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.6302, allocations: 3.938 kB / 0.7276 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.6304, allocations: 79.28 kB / 0.7276 GB, free: 9.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.6304, allocations: 8 kB / 0.7276 GB, free: 9.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002772/0.6307, allocations: 117.5 kB / 0.7278 GB, free: 9.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.6308, allocations: 55.41 kB / 0.7278 GB, free: 9.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.631, allocations: 126.1 kB / 0.7279 GB, free: 9.258 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.631, allocations: 33.69 kB / 0.728 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.631, allocations: 84.14 kB / 0.728 GB, free: 9.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.6311, allocations: 23.66 kB / 0.7281 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.6311, allocations: 33.7 kB / 0.7281 GB, free: 9.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6313, allocations: 326.8 kB / 0.7284 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.6313, allocations: 20 kB / 0.7284 GB, free: 8.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.6314, allocations: 51.42 kB / 0.7285 GB, free: 8.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.085e-05/0.6315, allocations: 67.36 kB / 0.7285 GB, free: 8.582 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6315, allocations: 4 kB / 0.7285 GB, free: 8.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001497/0.6316, allocations: 105.8 kB / 0.7286 GB, free: 8.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6317, allocations: 4.094 kB / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6317, allocations: 3.938 kB / 0.7286 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.6317, allocations: 4 kB / 0.7287 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.6318, allocations: 7.984 kB / 0.7287 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6318, allocations: 0 / 0.7287 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.6319, allocations: 19.92 kB / 0.7287 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.6319, allocations: 12.09 kB / 0.7287 GB, free: 8.418 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,logicalSwitch.y,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.431e-05/0.632, allocations: 121.7 kB / 0.7288 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.632, allocations: 11.89 kB / 0.7288 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.6321, allocations: 12.38 kB / 0.7288 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.6321, allocations: 0 / 0.7288 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6321, allocations: 0 / 0.7288 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6321, allocations: 0 / 0.7288 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.6323, allocations: 197.7 kB / 0.729 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6323, allocations: 0 / 0.729 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.6323, allocations: 8 kB / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.6323, allocations: 0 / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.6323, allocations: 0 / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6323, allocations: 0 / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6324, allocations: 0 / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.6325, allocations: 128.9 kB / 0.7291 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.6326, allocations: 88.94 kB / 0.7292 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.6326, allocations: 4 kB / 0.7292 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.6327, allocations: 15.98 kB / 0.7293 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.6328, allocations: 15.97 kB / 0.7293 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.6328, allocations: 7.938 kB / 0.7293 GB, free: 7.723 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.6329, allocations: 103.3 kB / 0.7294 GB, free: 7.621 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6329, allocations: 0 / 0.7294 GB, free: 7.621 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002059/0.6331, allocations: 16 kB / 0.7294 GB, free: 7.605 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000202/0.6333, allocations: 102.5 kB / 0.7295 GB, free: 7.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.6335, allocations: 83.88 kB / 0.7296 GB, free: 7.418 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6335, allocations: 0 / 0.7296 GB, free: 7.418 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.6336, allocations: 31.94 kB / 0.7296 GB, free: 7.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.6339, allocations: 31.95 kB / 0.7296 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.6345, allocations: 182.6 kB / 0.7298 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.6348, allocations: 0.6962 MB / 0.7305 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.513e-05/0.6348, allocations: 8.547 kB / 0.7305 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.6349, allocations: 15.44 kB / 0.7305 GB, free: 6.402 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6349, allocations: 7.938 kB / 0.7305 GB, free: 6.395 MB / 0.545 GB Notification: Performance of Templates: time 0.004287/0.6392, allocations: 1.263 MB / 0.7317 GB, free: 5.148 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)