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.001315/0.001315, allocations: 110.1 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.00191/0.00191, allocations: 221.3 kB / 23.05 MB, free: 5.074 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.218/3.218, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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.002008/0.002008, allocations: 68.98 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3707, allocations: 179 MB / 1.345 GB, free: 468 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001978/0.3727, allocations: 0.6528 MB / 1.346 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3744, allocations: 1.222 MB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.3744, allocations: 4 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.3745, allocations: 3.938 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.681e-05/0.3745, allocations: 15.91 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.3752, allocations: 217.8 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.3754, allocations: 171.7 kB / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3755, allocations: 23.97 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3757, allocations: 63.91 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.3758, allocations: 63.83 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.3758, allocations: 16 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.706e-05/0.3759, allocations: 24 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.3759, allocations: 15.92 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.376, allocations: 55.89 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3763, allocations: 151.8 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3763, allocations: 0 / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3763, allocations: 7.938 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3763, allocations: 4 kB / 1.348 GB, free: 13.75 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.0005939/0.3769, allocations: 361.5 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3769, allocations: 12.03 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.256e-05/0.3769, allocations: 192 / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.377, allocations: 34.69 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.377, allocations: 12.89 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3771, allocations: 110.5 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3772, allocations: 12.38 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.3772, allocations: 8.375 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.3773, allocations: 50 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3773, allocations: 3.984 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.3773, allocations: 7.984 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3774, allocations: 0 / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.3774, allocations: 15.94 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.3779, allocations: 323.7 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.355e-05/0.378, allocations: 38.58 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.3781, allocations: 12.94 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.3781, allocations: 0 / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.3783, allocations: 83.31 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3783, allocations: 0 / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002773/0.3786, allocations: 105.6 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.3786, allocations: 59.41 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3787, allocations: 121.8 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.3788, allocations: 29.7 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.3789, allocations: 96.09 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3789, allocations: 3.953 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.379, allocations: 57.67 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3791, allocations: 315.2 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3793, allocations: 63.91 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3794, allocations: 100.2 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.3796, allocations: 159.6 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3796, allocations: 0 / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000447/0.3801, allocations: 272.8 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/0.3801, allocations: 63.41 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3802, allocations: 4 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3802, allocations: 3.984 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.065e-05/0.3802, allocations: 4 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3802, allocations: 3.938 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.3806, allocations: 56.02 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.3806, allocations: 12.3 kB / 1.35 GB, free: 10.91 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.0001135/0.3807, allocations: 133.7 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.3807, allocations: 3.953 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.3807, allocations: 8.375 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3807, allocations: 0 / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3807, allocations: 0 / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3807, allocations: 0 / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.3809, allocations: 156.7 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3809, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-06/0.3809, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3809, allocations: 4 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.3809, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3809, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3809, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.3811, allocations: 117 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.3811, allocations: 11.95 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3811, allocations: 3.984 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.837e-05/0.3811, allocations: 96 / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.3812, allocations: 15.92 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.3812, allocations: 3.938 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.3812, allocations: 87.28 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3812, allocations: 0 / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002408/0.3815, allocations: 35.92 kB / 1.351 GB, free: 10.27 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.0005458/0.382, allocations: 0.6514 MB / 1.352 GB, free: 9.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.3824, allocations: 218.8 kB / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3824, allocations: 0 / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.3824, allocations: 23.98 kB / 1.352 GB, free: 9.328 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.3827, allocations: 20.23 kB / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.3849, allocations: 1.72 MB / 1.354 GB, free: 7.465 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.3853, allocations: 0.6885 MB / 1.354 GB, free: 6.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.3854, allocations: 7.781 kB / 1.354 GB, free: 6.742 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.3854, allocations: 15.44 kB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3854, allocations: 0 / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.4096, allocations: 3.064 MB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 13.19 kB / 1.357 GB, free: 3.809 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.550398760999087] Failed to read output from testmodel.py, exit status != 0: 11.85860573098762 11.888548211 11.506563996 Calling exit ...