Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001642/0.001642, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002285/0.002285, allocations: 215.8 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_12_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.002013/0.002013, allocations: 65.88 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3937, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002615/0.3964, allocations: 0.6579 MB / 1.327 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.3985, allocations: 1.225 MB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.3986, allocations: 0 / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.3986, allocations: 7.875 kB / 1.329 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.653e-05/0.3987, allocations: 19.91 kB / 1.329 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008583/0.3996, allocations: 221.6 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.3999, allocations: 167.7 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4, allocations: 11.98 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.4001, allocations: 67.89 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.4003, allocations: 63.84 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.4003, allocations: 16 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.4004, allocations: 35.98 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.4005, allocations: 7.938 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.4006, allocations: 63.88 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.4008, allocations: 151.8 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4008, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4008, allocations: 3.938 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.4009, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 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.0006493/0.4015, allocations: 357.5 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.4016, allocations: 12.03 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.146e-05/0.4016, allocations: 8.188 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.4016, allocations: 34.73 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.4017, allocations: 8.938 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.4018, allocations: 110.5 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4018, allocations: 4.375 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.4018, allocations: 12.38 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.402, allocations: 53.98 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.402, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.402, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.402, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.402, allocations: 19.94 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.4026, allocations: 331.8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.446e-05/0.4027, allocations: 30.56 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.4027, allocations: 12.86 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.4027, allocations: 3.938 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.403, allocations: 91.34 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.403, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002741/0.4033, allocations: 101.6 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.4033, allocations: 55.34 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4034, allocations: 121.8 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.4035, allocations: 33.7 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.4035, allocations: 92.12 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.4036, allocations: 11.91 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4037, allocations: 49.69 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4038, allocations: 322.8 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.404, allocations: 59.95 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.4041, allocations: 88.27 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4043, allocations: 159.6 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4043, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000461/0.4048, allocations: 265.3 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.083e-05/0.4049, allocations: 73.42 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4049, allocations: 0 / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4049, allocations: 0 / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-05/0.4049, allocations: 12.06 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4049, allocations: 3.938 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/0.4053, allocations: 55.89 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4053, allocations: 15.98 kB / 1.332 GB, free: 12.43 MB / 1.029 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.0001316/0.4055, allocations: 126.2 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.4055, allocations: 8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.4055, allocations: 12.36 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4055, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4055, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4055, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.4057, allocations: 148.7 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4057, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.297e-05/0.4057, allocations: 7.938 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4057, allocations: 3.984 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.4057, allocations: 7.984 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4057, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4057, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.4059, allocations: 109 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.4059, allocations: 11.95 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.4059, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.137e-05/0.406, allocations: 8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.406, allocations: 7.984 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.406, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.015e-05/0.4061, allocations: 95.27 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4061, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002475/0.4063, allocations: 31.94 kB / 1.332 GB, free: 11.78 MB / 1.029 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.0005451/0.4069, allocations: 0.6436 MB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.4072, allocations: 222.9 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4072, allocations: 4.062 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.024e-05/0.4073, allocations: 23.92 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.4075, allocations: 16.83 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.4097, allocations: 1.719 MB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.41, allocations: 0.6885 MB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.41, allocations: 4 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.41, allocations: 23.42 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.41, allocations: 4 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.4349, allocations: 3.047 MB / 1.339 GB, free: 5.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.67, allocations: 5.312 kB / 1.339 GB, free: 5.352 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.492587200016715] Failed to read output from testmodel.py, exit status != 0: 11.831872961018234 11.850999765 11.4468818 Calling exit ...