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.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.001089, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001485/0.001486, allocations: 168.7 kB / 15.95 MB, free: 204 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.817/1.817, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.641/1.641, allocations: 252 MB / 0.5102 GB, free: 4.781 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.0005838/0.0005843, allocations: 20 kB / 0.6243 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5886/0.5892, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001646/0.5909, allocations: 1.092 MB / 0.7292 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005295/0.5915, allocations: 196.4 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.5915, allocations: 0 / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.5916, allocations: 7.922 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.5917, allocations: 3.938 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.5919, allocations: 19.97 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.592, allocations: 55.8 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.5922, allocations: 7.984 kB / 0.7295 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.5922, allocations: 15.94 kB / 0.7295 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.5923, allocations: 19.91 kB / 0.7295 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.5923, allocations: 4 kB / 0.7295 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.5924, allocations: 0 / 0.7295 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.5924, allocations: 8 kB / 0.7295 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.5924, allocations: 33.64 kB / 0.7296 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.5926, allocations: 41.88 kB / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5926, allocations: 0 / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5926, allocations: 0 / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.5926, allocations: 0 / 0.7296 GB, free: 9.883 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006521/0.5932, allocations: 371.1 kB / 0.73 GB, free: 9.473 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5933, allocations: 12.02 kB / 0.73 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.5933, allocations: 4 kB / 0.73 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.5935, allocations: 178.9 kB / 0.7301 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.5935, allocations: 4 kB / 0.7302 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.5936, allocations: 4 kB / 0.7302 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.5937, allocations: 53.61 kB / 0.7302 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5937, allocations: 0 / 0.7302 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5937, allocations: 4 kB / 0.7302 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5938, allocations: 0 / 0.7302 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.5938, allocations: 20 kB / 0.7302 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.5943, allocations: 284.8 kB / 0.7305 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.5944, allocations: 46.5 kB / 0.7305 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.5944, allocations: 16.98 kB / 0.7306 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.5945, allocations: 0 / 0.7306 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.5947, allocations: 75.38 kB / 0.7306 GB, free: 8.664 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.5947, allocations: 3.938 kB / 0.7306 GB, free: 8.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002436/0.5949, allocations: 85.53 kB / 0.7307 GB, free: 8.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.595, allocations: 55.41 kB / 0.7308 GB, free: 8.504 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.5951, allocations: 121.8 kB / 0.7309 GB, free: 8.375 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.5951, allocations: 25.7 kB / 0.7309 GB, free: 8.344 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.5952, allocations: 84.14 kB / 0.731 GB, free: 8.258 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.5952, allocations: 19.88 kB / 0.731 GB, free: 8.238 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.5952, allocations: 7.938 kB / 0.731 GB, free: 8.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5954, allocations: 322.8 kB / 0.7313 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.5954, allocations: 12 kB / 0.7313 GB, free: 7.895 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.5955, allocations: 30.56 kB / 0.7314 GB, free: 7.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.5955, allocations: 12.62 kB / 0.7314 GB, free: 7.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5955, allocations: 0 / 0.7314 GB, free: 7.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001197/0.5956, allocations: 85.52 kB / 0.7315 GB, free: 7.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5957, allocations: 8 kB / 0.7315 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5957, allocations: 0 / 0.7315 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.5957, allocations: 3.938 kB / 0.7315 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.5958, allocations: 8 kB / 0.7315 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.5958, allocations: 4 kB / 0.7315 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.543e-05/0.5959, allocations: 19.88 kB / 0.7315 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.5959, allocations: 4 kB / 0.7315 GB, free: 7.707 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * 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 9.733e-05/0.596, allocations: 121.9 kB / 0.7316 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.596, allocations: 7.906 kB / 0.7316 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.5961, allocations: 8.375 kB / 0.7316 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5961, allocations: 0 / 0.7316 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5961, allocations: 0 / 0.7316 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5961, allocations: 7.984 kB / 0.7316 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.5963, allocations: 181.6 kB / 0.7318 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5963, allocations: 0 / 0.7318 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-06/0.5963, allocations: 3.938 kB / 0.7318 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5963, allocations: 8 kB / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5963, allocations: 4 kB / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5963, allocations: 0 / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.5963, allocations: 0 / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.5965, allocations: 101 kB / 0.7319 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.5965, allocations: 81.11 kB / 0.732 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.5966, allocations: 3.938 kB / 0.732 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.5966, allocations: 15.98 kB / 0.732 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.5967, allocations: 15.98 kB / 0.732 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.5967, allocations: 0 / 0.732 GB, free: 7.062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.545e-05/0.5968, allocations: 91.27 kB / 0.7321 GB, free: 6.973 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5968, allocations: 0 / 0.7321 GB, free: 6.973 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002008/0.597, allocations: 8 kB / 0.7321 GB, free: 6.965 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * 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: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001476/0.5971, allocations: 107.4 kB / 0.7322 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.5973, allocations: 39.98 kB / 0.7323 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5973, allocations: 3.938 kB / 0.7323 GB, free: 6.809 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.5973, allocations: 31.92 kB / 0.7323 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.5976, allocations: 22.69 kB / 0.7323 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.598, allocations: 174.6 kB / 0.7325 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.5983, allocations: 0.6848 MB / 0.7332 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.034e-05/0.5984, allocations: 7.859 kB / 0.7332 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.5984, allocations: 11.44 kB / 0.7332 GB, free: 5.824 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5984, allocations: 0 / 0.7332 GB, free: 5.824 MB / 0.545 GB Notification: Performance of Templates: time 0.003022/0.6015, allocations: 0.7449 MB / 0.7339 GB, free: 5.09 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) Environment - environmentSimulation: