Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001533/0.001533, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001896/0.001896, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.494/1.494, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.067/3.067, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_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.002324/0.002324, allocations: 67.88 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 179 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001969/1.084, allocations: 0.6513 MB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001919/1.086, allocations: 1.219 MB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/1.086, allocations: 4 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/1.086, allocations: 5.75 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.593e-05/1.087, allocations: 10.36 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/1.087, allocations: 218.9 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/1.088, allocations: 166.2 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/1.088, allocations: 9.484 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/1.088, allocations: 72.78 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/1.088, allocations: 69.83 kB / 1.343 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/1.088, allocations: 14.62 kB / 1.343 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.745e-05/1.088, allocations: 24.94 kB / 1.343 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/1.088, allocations: 13.17 kB / 1.343 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/1.088, allocations: 56.81 kB / 1.343 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/1.089, allocations: 148.9 kB / 1.343 GB, free: 14.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.089, allocations: 0 / 1.343 GB, free: 14.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.857e-06/1.089, allocations: 1.5 kB / 1.343 GB, free: 14.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.337e-06/1.089, allocations: 0.7031 kB / 1.343 GB, free: 14.65 MB / 1.061 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.0006993/1.089, allocations: 438.6 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/1.089, allocations: 9.312 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.44e-05/1.089, allocations: 1.062 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/1.089, allocations: 37.08 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/1.09, allocations: 16.36 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/1.09, allocations: 173.5 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/1.09, allocations: 5.203 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/1.09, allocations: 9.266 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/1.09, allocations: 54.02 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/1.09, allocations: 4 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/1.09, allocations: 10.2 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/1.09, allocations: 0 / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.286e-05/1.09, allocations: 13.25 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006488/1.091, allocations: 362.6 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.865e-05/1.091, allocations: 30.2 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/1.091, allocations: 14.61 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/1.091, allocations: 5.125 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/1.091, allocations: 84.81 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/1.091, allocations: 0 / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003038/1.091, allocations: 100.5 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/1.091, allocations: 53.31 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/1.091, allocations: 116.7 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/1.091, allocations: 30.05 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/1.092, allocations: 102 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/1.092, allocations: 11.47 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/1.092, allocations: 49.19 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/1.092, allocations: 323.4 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/1.092, allocations: 63.86 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/1.092, allocations: 96.84 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/1.092, allocations: 157 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.092, allocations: 1.906 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004613/1.093, allocations: 268.2 kB / 1.345 GB, free: 12.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/1.093, allocations: 68.92 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/1.093, allocations: 5.688 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.093, allocations: 1.375 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.123e-05/1.093, allocations: 3.547 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/1.093, allocations: 6.016 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/1.093, allocations: 57.2 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/1.093, allocations: 19.14 kB / 1.345 GB, free: 12.3 MB / 1.061 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 8.924e-05/1.093, allocations: 126.7 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/1.093, allocations: 7.406 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/1.093, allocations: 10.36 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.093, allocations: 1.938 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.093, allocations: 0 / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.093, allocations: 2.078 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/1.093, allocations: 178.3 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.093, allocations: 4.062 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.039e-05/1.093, allocations: 2.078 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.093, allocations: 6.172 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/1.094, allocations: 2.172 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.094, allocations: 0 / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/1.094, allocations: 0 / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/1.094, allocations: 116.1 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/1.094, allocations: 83.09 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/1.094, allocations: 2.031 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/1.094, allocations: 5.938 kB / 1.346 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/1.094, allocations: 9.516 kB / 1.346 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/1.094, allocations: 3.406 kB / 1.346 GB, free: 11.76 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.358e-05/1.094, allocations: 92.92 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.094, allocations: 0 / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002446/1.094, allocations: 40.08 kB / 1.346 GB, free: 11.66 MB / 1.061 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.000372/1.094, allocations: 0.6514 MB / 1.347 GB, free: 11.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003246/1.095, allocations: 216.5 kB / 1.347 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.095, allocations: 0 / 1.347 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/1.095, allocations: 24.17 kB / 1.347 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/1.095, allocations: 16.33 kB / 1.347 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/1.097, allocations: 1.718 MB / 1.349 GB, free: 9.438 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/1.097, allocations: 0.6864 MB / 1.349 GB, free: 8.742 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.122e-05/1.097, allocations: 9.969 kB / 1.349 GB, free: 8.738 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/1.097, allocations: 19.69 kB / 1.349 GB, free: 8.723 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.097, allocations: 0 / 1.349 GB, free: 8.723 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/1.117, allocations: 2.934 MB / 1.352 GB, free: 8.215 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.419/9.536, allocations: 21.39 kB / 1.352 GB, free: 8.199 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.150380748033058] Failed to read output from testmodel.py, exit status != 0: 9.658164467022289 9.671131281 8.579942482 Calling exit ...