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.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009265, 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.001231/0.001231, 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.821/1.821, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.598/1.598, allocations: 252 MB / 0.5102 GB, free: 4.789 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.0005517/0.0005518, allocations: 16 kB / 0.6243 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6236/0.6242, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001733/0.626, allocations: 1.139 MB / 0.7293 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005501/0.6266, allocations: 224.3 kB / 0.7295 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.6266, allocations: 0 / 0.7295 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.6267, allocations: 0 / 0.7295 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/0.6268, allocations: 19.84 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.6269, allocations: 15.98 kB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.6271, allocations: 79.7 kB / 0.7296 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.6272, allocations: 16.17 kB / 0.7296 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.324e-05/0.6273, allocations: 27.86 kB / 0.7296 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.6273, allocations: 23.91 kB / 0.7296 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.6274, allocations: 4 kB / 0.7297 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.6274, allocations: 7.938 kB / 0.7297 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.6274, allocations: 11.98 kB / 0.7297 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.6275, allocations: 37.64 kB / 0.7297 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.768e-05/0.6276, allocations: 53.84 kB / 0.7298 GB, free: 9.734 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.6276, allocations: 0 / 0.7298 GB, free: 9.734 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6276, allocations: 0 / 0.7298 GB, free: 9.734 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.6276, allocations: 4 kB / 0.7298 GB, free: 9.73 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.0006597/0.6283, allocations: 395.1 kB / 0.7301 GB, free: 9.297 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.6283, allocations: 12.03 kB / 0.7301 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.6284, allocations: 15.89 kB / 0.7302 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.6285, allocations: 174.9 kB / 0.7303 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.6286, allocations: 15.92 kB / 0.7303 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.6286, allocations: 4 kB / 0.7303 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.6287, allocations: 61.61 kB / 0.7304 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.6287, allocations: 0 / 0.7304 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.6287, allocations: 4 kB / 0.7304 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6288, allocations: 0 / 0.7304 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.065e-05/0.6288, allocations: 31.97 kB / 0.7304 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.6293, allocations: 312.8 kB / 0.7307 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.6294, allocations: 46.56 kB / 0.7308 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.6295, allocations: 24.84 kB / 0.7308 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.6295, allocations: 0 / 0.7308 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.6297, allocations: 99.25 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.6297, allocations: 0 / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002767/0.63, allocations: 109.5 kB / 0.731 GB, free: 8.277 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.6301, allocations: 63.34 kB / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.6302, allocations: 121.8 kB / 0.7312 GB, free: 8.074 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.6302, allocations: 29.7 kB / 0.7312 GB, free: 8.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.6303, allocations: 92.12 kB / 0.7313 GB, free: 7.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.6303, allocations: 23.66 kB / 0.7313 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.6303, allocations: 4 kB / 0.7313 GB, free: 7.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6305, allocations: 322.8 kB / 0.7316 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.6305, allocations: 16 kB / 0.7317 GB, free: 7.578 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.6306, allocations: 47.42 kB / 0.7317 GB, free: 7.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.6307, allocations: 23.94 kB / 0.7317 GB, free: 7.496 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6307, allocations: 4 kB / 0.7317 GB, free: 7.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001554/0.6308, allocations: 97.52 kB / 0.7318 GB, free: 7.391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.6309, allocations: 4 kB / 0.7318 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6309, allocations: 4 kB / 0.7318 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6309, allocations: 0 / 0.7318 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.631, allocations: 11.94 kB / 0.7318 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.631, allocations: 3.984 kB / 0.7318 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.6311, allocations: 32.5 kB / 0.7319 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.6311, allocations: 4 kB / 0.7319 GB, free: 7.332 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.6312, allocations: 119.2 kB / 0.732 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.6312, allocations: 11.91 kB / 0.732 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.6313, allocations: 20.3 kB / 0.732 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6313, allocations: 3.938 kB / 0.732 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.6313, allocations: 0 / 0.732 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6313, allocations: 0 / 0.732 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.6315, allocations: 201.7 kB / 0.7322 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6315, allocations: 0 / 0.7322 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.237e-05/0.6315, allocations: 4 kB / 0.7322 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6316, allocations: 0 / 0.7322 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.6316, allocations: 4 kB / 0.7322 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6316, allocations: 0 / 0.7322 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.6316, allocations: 0 / 0.7322 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.6317, allocations: 120.9 kB / 0.7323 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.6318, allocations: 88.95 kB / 0.7324 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.6318, allocations: 7.984 kB / 0.7324 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.6319, allocations: 23.98 kB / 0.7325 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.632, allocations: 15.97 kB / 0.7325 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.632, allocations: 0 / 0.7325 GB, free: 6.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.6321, allocations: 99.27 kB / 0.7326 GB, free: 6.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6321, allocations: 0 / 0.7326 GB, free: 6.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001992/0.6323, allocations: 20 kB / 0.7326 GB, free: 6.512 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,or1.y,booPul3.y,booPul3.pulseStart) * 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 (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.0001806/0.6325, allocations: 108.9 kB / 0.7327 GB, free: 6.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.6327, allocations: 67.91 kB / 0.7327 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.6327, allocations: 4 kB / 0.7328 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.6328, allocations: 28 kB / 0.7328 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.633, allocations: 33.34 kB / 0.7328 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.6335, allocations: 210.2 kB / 0.733 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.6338, allocations: 0.6965 MB / 0.7337 GB, free: 5.312 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.968e-05/0.6338, allocations: 8.547 kB / 0.7337 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.6339, allocations: 11.44 kB / 0.7337 GB, free: 5.293 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.6339, allocations: 0 / 0.7337 GB, free: 5.293 MB / 0.545 GB Notification: Performance of Templates: time 0.003713/0.6376, allocations: 1.041 MB / 0.7347 GB, free: 4.266 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) Environment - environmentSimulation: