Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.851/2.851, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.88 kB / 1.107 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001845/1.038, allocations: 0.668 MB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00137/1.04, allocations: 1.192 MB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/1.04, allocations: 0 / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/1.04, allocations: 8.562 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/1.04, allocations: 12.03 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/1.04, allocations: 215.2 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/1.041, allocations: 179 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/1.041, allocations: 9.188 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/1.041, allocations: 68.52 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/1.041, allocations: 65.14 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/1.041, allocations: 14.81 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/1.041, allocations: 28.47 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/1.041, allocations: 12.2 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/1.041, allocations: 57.39 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/1.041, allocations: 152.1 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.041, allocations: 0 / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.041, allocations: 1.062 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.969e-06/1.041, allocations: 0 / 1.274 GB, free: 6.078 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.000452/1.042, allocations: 434.8 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.042, allocations: 14.06 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/1.042, allocations: 31.84 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/1.042, allocations: 12.73 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.672e-05/1.042, allocations: 169.3 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.042, allocations: 8.781 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/1.042, allocations: 9.406 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/1.042, allocations: 45.17 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/1.042, allocations: 5.766 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/1.042, allocations: 5.031 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.042, allocations: 4.938 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/1.042, allocations: 17.34 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/1.043, allocations: 353.2 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/1.043, allocations: 29.52 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/1.043, allocations: 19.16 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-06/1.043, allocations: 2.828 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/1.043, allocations: 88.36 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.043, allocations: 0 / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002374/1.043, allocations: 101.3 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/1.043, allocations: 57.41 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/1.043, allocations: 116 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/1.043, allocations: 29.05 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/1.043, allocations: 98.89 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/1.043, allocations: 15.45 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/1.043, allocations: 52.19 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.694e-05/1.043, allocations: 323.4 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/1.044, allocations: 60.97 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/1.044, allocations: 92.27 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/1.044, allocations: 161.7 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.044, allocations: 0.8125 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004112/1.044, allocations: 269.1 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/1.044, allocations: 70.17 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.044, allocations: 2.031 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.044, allocations: 5.156 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.232e-05/1.044, allocations: 13 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/1.044, allocations: 1.219 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/1.045, allocations: 51.91 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/1.045, allocations: 12.56 kB / 1.277 GB, free: 3.746 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,and1.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 7.818e-05/1.045, allocations: 126 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/1.045, allocations: 12.94 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/1.045, allocations: 5.75 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.045, allocations: 1.156 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.045, allocations: 1.094 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.045, allocations: 0 / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.763e-05/1.045, allocations: 182.8 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.045, allocations: 0 / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/1.045, allocations: 3.141 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.045, allocations: 1.406 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/1.045, allocations: 3.094 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.045, allocations: 8.781 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.045, allocations: 0.9062 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/1.045, allocations: 112.9 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/1.045, allocations: 80.09 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/1.045, allocations: 2.141 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/1.045, allocations: 0.9375 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/1.045, allocations: 6.266 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/1.045, allocations: 10.53 kB / 1.277 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.751e-05/1.045, allocations: 96.2 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.045, allocations: 0 / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002576/1.046, allocations: 34.3 kB / 1.277 GB, free: 3.109 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,and1.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.0003793/1.046, allocations: 0.6538 MB / 1.278 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003333/1.046, allocations: 221 kB / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.046, allocations: 0 / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.883e-05/1.046, allocations: 24.03 kB / 1.278 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/1.047, allocations: 22.42 kB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/1.049, allocations: 1.732 MB / 1.28 GB, free: 16.88 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/1.049, allocations: 0.687 MB / 1.281 GB, free: 16.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.576e-05/1.049, allocations: 4.125 kB / 1.281 GB, free: 16.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/1.049, allocations: 16.78 kB / 1.281 GB, free: 16.17 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/1.049, allocations: 4 kB / 1.281 GB, free: 16.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/1.076, allocations: 2.876 MB / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.985, allocations: 11.86 kB / 1.284 GB, free: 15.69 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.32880623600795] Failed to read output from testmodel.py, exit status != 0: 9.054071421007393 9.071688934 8.025794353 Calling exit ...