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.001755/0.001755, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002174/0.002174, allocations: 215.3 kB / 23.03 MB, free: 4.922 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.297/3.297, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 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.003358/0.003358, allocations: 66.62 kB / 1.171 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3705, allocations: 179 MB / 1.345 GB, free: 15.86 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001792/0.3723, allocations: 0.644 MB / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3739, allocations: 1.202 MB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.374, allocations: 0 / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.374, allocations: 7.875 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.3741, allocations: 15.86 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006225/0.3747, allocations: 209 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3749, allocations: 179.7 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.375, allocations: 19.97 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.575e-05/0.3751, allocations: 63.91 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.3752, allocations: 63.84 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.3753, allocations: 12 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.3753, allocations: 27.98 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.3754, allocations: 15.92 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.3755, allocations: 51.89 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.3757, allocations: 151.8 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3757, allocations: 0 / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3757, allocations: 4 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3757, allocations: 0 / 1.348 GB, free: 13.2 MB / 1.045 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.0005174/0.3762, allocations: 369.4 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3762, allocations: 8.031 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.391e-05/0.3762, allocations: 4.188 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.61e-05/0.3763, allocations: 34.75 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.3763, allocations: 16.89 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.3764, allocations: 102.5 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3765, allocations: 16.3 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.3765, allocations: 12.38 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3766, allocations: 46 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3766, allocations: 7.938 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3766, allocations: 0 / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3766, allocations: 4 kB / 1.348 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.985e-05/0.3767, allocations: 15.98 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.3771, allocations: 295.8 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.74e-05/0.3772, allocations: 34.56 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.3772, allocations: 12.86 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.3772, allocations: 3.938 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.3774, allocations: 75.47 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3774, allocations: 4 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002457/0.3777, allocations: 109.6 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3777, allocations: 63.33 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.3778, allocations: 113.8 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3778, allocations: 29.7 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.3779, allocations: 92.09 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.3779, allocations: 19.89 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.717e-05/0.378, allocations: 45.69 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3782, allocations: 318.8 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.3784, allocations: 123.4 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.3786, allocations: 153.2 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.3788, allocations: 160.1 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3788, allocations: 4 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004742/0.3793, allocations: 320.2 kB / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.3793, allocations: 67.39 kB / 1.35 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3793, allocations: 4 kB / 1.35 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3793, allocations: 8.062 kB / 1.35 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.363e-05/0.3794, allocations: 11.92 kB / 1.35 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3794, allocations: 0 / 1.35 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.3797, allocations: 55.89 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.3798, allocations: 12 kB / 1.351 GB, free: 10.18 MB / 1.045 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.0001207/0.3799, allocations: 129.7 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.3799, allocations: 3.953 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.3799, allocations: 16.38 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3799, allocations: 0 / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.3799, allocations: 0 / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.38, allocations: 0 / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.3801, allocations: 148.7 kB / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3801, allocations: 0 / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/0.3801, allocations: 12 kB / 1.351 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3801, allocations: 0 / 1.351 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3801, allocations: 4 kB / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3801, allocations: 0 / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3801, allocations: 0 / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.3803, allocations: 117 kB / 1.351 GB, free: 9.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.3803, allocations: 4 kB / 1.351 GB, free: 9.676 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.3803, allocations: 3.984 kB / 1.351 GB, free: 9.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.461e-05/0.3803, allocations: 7.984 kB / 1.351 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3804, allocations: 3.984 kB / 1.351 GB, free: 9.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.3804, allocations: 4 kB / 1.351 GB, free: 9.656 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.3804, allocations: 87.28 kB / 1.351 GB, free: 9.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3804, allocations: 288 / 1.351 GB, free: 9.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002426/0.3807, allocations: 43.86 kB / 1.351 GB, free: 9.527 MB / 1.045 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.0004867/0.3812, allocations: 0.6518 MB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.3816, allocations: 282.1 kB / 1.352 GB, free: 8.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3816, allocations: 0 / 1.352 GB, free: 8.535 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.3816, allocations: 23.94 kB / 1.352 GB, free: 8.512 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.3818, allocations: 15.98 kB / 1.352 GB, free: 8.496 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.3841, allocations: 1.968 MB / 1.354 GB, free: 6.355 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.585e-05/0.3842, allocations: 75.33 kB / 1.354 GB, free: 6.262 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.3842, allocations: 7.781 kB / 1.354 GB, free: 6.254 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.3843, allocations: 27.36 kB / 1.354 GB, free: 6.227 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3843, allocations: 0 / 1.354 GB, free: 6.227 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.4082, allocations: 3.224 MB / 1.357 GB, free: 3.176 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.66, allocations: 16.83 kB / 1.357 GB, free: 3.164 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.70983614504803] Failed to read output from testmodel.py, exit status != 0: 11.824204006930813 11.840175069 11.46131363 Calling exit ...