Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 214.7 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 65 kB / 1.118 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3255, allocations: 169.9 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002126/0.3276, allocations: 0.8482 MB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.3296, allocations: 1.511 MB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.3297, allocations: 4 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.3298, allocations: 19.8 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.3298, allocations: 43.66 kB / 1.287 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3311, allocations: 0.5076 MB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006119/0.3317, allocations: 483.2 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.3319, allocations: 33.66 kB / 1.288 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.3321, allocations: 187.7 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.3324, allocations: 171.5 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.3324, allocations: 40 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.3326, allocations: 59.92 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.3326, allocations: 39.84 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.3329, allocations: 163.5 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.3334, allocations: 415.5 kB / 1.289 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3334, allocations: 4 kB / 1.289 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3334, allocations: 0 / 1.289 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.3334, allocations: 0 / 1.289 GB, free: 7.219 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008915/0.3343, allocations: 0.58 MB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3343, allocations: 8.031 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.782e-05/0.3343, allocations: 4.188 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.3344, allocations: 46.67 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.3345, allocations: 28.84 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.3348, allocations: 207.4 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.3348, allocations: 28.31 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.3349, allocations: 28.38 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.3352, allocations: 156.9 kB / 1.29 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3352, allocations: 0 / 1.29 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.3352, allocations: 7.984 kB / 1.29 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3352, allocations: 0 / 1.29 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3354, allocations: 83.81 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009122/0.3363, allocations: 0.6712 MB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.3365, allocations: 90.48 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.702e-05/0.3366, allocations: 44.83 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.3366, allocations: 0 / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.3369, allocations: 169.1 kB / 1.291 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.3369, allocations: 0 / 1.291 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0005007/0.3374, allocations: 239.5 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.3374, allocations: 55.41 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.3376, allocations: 190.7 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.3377, allocations: 37.7 kB / 1.291 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3378, allocations: 136.6 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.3379, allocations: 39.75 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.3381, allocations: 113.6 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3382, allocations: 326.8 kB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.3386, allocations: 151.9 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.339, allocations: 246.1 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/0.3396, allocations: 407.6 kB / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3396, allocations: 3.938 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00106/0.3406, allocations: 0.6343 MB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.3407, allocations: 172.4 kB / 1.293 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.3408, allocations: 4 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3408, allocations: 4 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.094e-05/0.3408, allocations: 7.984 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3408, allocations: 7.938 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/0.3416, allocations: 136.1 kB / 1.293 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.3416, allocations: 35.97 kB / 1.293 GB, free: 1.789 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002101/0.3419, allocations: 161.5 kB / 1.294 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.3419, allocations: 19.84 kB / 1.294 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.3419, allocations: 21.8 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3419, allocations: 0 / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3419, allocations: 4 kB / 1.294 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3419, allocations: 4.078 kB / 1.294 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.3426, allocations: 493.2 kB / 1.294 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3426, allocations: 4 kB / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.3426, allocations: 12 kB / 1.294 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3426, allocations: 0 / 1.294 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3426, allocations: 7.984 kB / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3426, allocations: 0 / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3426, allocations: 0 / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.3429, allocations: 281.5 kB / 1.294 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.3429, allocations: 11.91 kB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.343, allocations: 15.92 kB / 1.294 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.343, allocations: 4 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.3431, allocations: 23.97 kB / 1.294 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3431, allocations: 7.984 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.717e-05/0.3432, allocations: 119.2 kB / 1.295 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3432, allocations: 0 / 1.295 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000359/0.3436, allocations: 83.89 kB / 1.295 GB, free: 476 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007383/0.3443, allocations: 0.8222 MB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000793/0.3451, allocations: 0.5491 MB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3451, allocations: 0 / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3452, allocations: 64.59 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.3457, allocations: 43.95 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.3498, allocations: 3.029 MB / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.3501, allocations: 0.732 MB / 1.3 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.3502, allocations: 25.47 kB / 1.3 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.3503, allocations: 51.42 kB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.3503, allocations: 0 / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.3775, allocations: 6.625 MB / 1.306 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.89, allocations: 8.75 kB / 1.306 GB, free: 4.426 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.547001969011035] Failed to read output from testmodel.py, exit status != 0: 12.52708339196397 12.080228799 11.742484545 Calling exit ...