Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001473/0.001473, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.001501/0.001501, allocations: 215 kB / 20.13 MB, free: 2.949 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.908/2.908, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 GB " [Timeout remaining time 176] 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.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.00254/0.00254, allocations: 67.91 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.14, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00204/1.142, allocations: 0.656 MB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002012/1.144, allocations: 1.225 MB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/1.145, allocations: 1.062 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/1.145, allocations: 4.641 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/1.145, allocations: 15.53 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/1.145, allocations: 215.8 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/1.146, allocations: 174.8 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/1.146, allocations: 9.188 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/1.146, allocations: 66.98 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/1.146, allocations: 66.11 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/1.146, allocations: 15.03 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/1.146, allocations: 29.78 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/1.146, allocations: 16.12 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/1.146, allocations: 53.55 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/1.147, allocations: 152.8 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.147, allocations: 0.7188 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/1.147, allocations: 4 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.76e-06/1.147, allocations: 0.5938 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00064/1.147, allocations: 439.3 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.147, allocations: 9.969 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.89e-05/1.147, allocations: 1.219 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/1.147, allocations: 33.08 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/1.147, allocations: 8.641 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/1.147, allocations: 172.6 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/1.148, allocations: 13.12 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/1.148, allocations: 10.48 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/1.148, allocations: 53.11 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.148, allocations: 0 / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/1.148, allocations: 1.281 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.148, allocations: 1.062 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.19e-05/1.148, allocations: 17.84 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/1.148, allocations: 346.5 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.284e-05/1.148, allocations: 37 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/1.148, allocations: 20.66 kB / 1.283 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/1.149, allocations: 0 / 1.283 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/1.149, allocations: 85.72 kB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.149, allocations: 0 / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002596/1.149, allocations: 103.4 kB / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.149, allocations: 58.61 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/1.149, allocations: 123.8 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/1.149, allocations: 38.42 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/1.149, allocations: 89.41 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/1.149, allocations: 12.11 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.149, allocations: 49.06 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.149, allocations: 322.7 kB / 1.284 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/1.15, allocations: 59.08 kB / 1.284 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/1.15, allocations: 92.66 kB / 1.284 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/1.15, allocations: 163.2 kB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.15, allocations: 1.031 kB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004533/1.15, allocations: 268.2 kB / 1.284 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/1.151, allocations: 67.7 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.151, allocations: 2.297 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.151, allocations: 2.656 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.035e-05/1.151, allocations: 3.594 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.151, allocations: 1.25 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/1.151, allocations: 55.34 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/1.151, allocations: 13.39 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001261/1.151, allocations: 129.2 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/1.151, allocations: 6.328 kB / 1.284 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/1.151, allocations: 10.16 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.151, allocations: 1.672 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.151, allocations: 1.125 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.151, allocations: 1.078 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/1.151, allocations: 186.6 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.151, allocations: 0.75 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/1.151, allocations: 3.312 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.151, allocations: 0 / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/1.151, allocations: 10.03 kB / 1.285 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.151, allocations: 0 / 1.285 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.151, allocations: 2.312 kB / 1.285 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/1.151, allocations: 109.9 kB / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/1.152, allocations: 88.7 kB / 1.285 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/1.152, allocations: 2.25 kB / 1.285 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/1.152, allocations: 0.625 kB / 1.285 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/1.152, allocations: 13.05 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/1.152, allocations: 8.156 kB / 1.285 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.697e-05/1.152, allocations: 96.61 kB / 1.285 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.152, allocations: 1.312 kB / 1.285 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002481/1.152, allocations: 34.72 kB / 1.285 GB, free: 7.113 MB / 0.9981 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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 (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.0005219/1.152, allocations: 0.6504 MB / 1.286 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003473/1.153, allocations: 218.8 kB / 1.286 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.153, allocations: 0 / 1.286 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.751e-05/1.153, allocations: 24.17 kB / 1.286 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/1.153, allocations: 23.48 kB / 1.286 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/1.155, allocations: 1.721 MB / 1.287 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/1.156, allocations: 0.686 MB / 1.288 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.892e-05/1.156, allocations: 4.297 kB / 1.288 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/1.156, allocations: 21.11 kB / 1.288 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/1.156, allocations: 0 / 1.288 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/1.176, allocations: 2.932 MB / 1.291 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/9.637, allocations: 13.27 kB / 1.291 GB, free: 3.648 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.13513042696286] Failed to read output from testmodel.py, exit status != 0: 9.763661472999956 9.784311358 8.633703385 Calling exit ...