Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001998/0.001998, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002231/0.002231, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.559/1.559, 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 2.983/2.983, allocations: 0.5003 GB / 0.8026 GB, free: 6.762 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.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.002194/0.002194, allocations: 71.91 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186/1.189, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001819/1.19, allocations: 0.6528 MB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001508/1.192, allocations: 1.219 MB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/1.192, allocations: 5.438 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/1.192, allocations: 3.938 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/1.192, allocations: 11.44 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/1.193, allocations: 224.6 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/1.193, allocations: 167 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/1.193, allocations: 13.67 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/1.193, allocations: 67.06 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/1.193, allocations: 66.72 kB / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/1.193, allocations: 15.16 kB / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-05/1.194, allocations: 23.7 kB / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/1.194, allocations: 13.86 kB / 1.343 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.451e-05/1.194, allocations: 57.22 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/1.194, allocations: 153 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/1.194, allocations: 0 / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.995e-06/1.194, allocations: 5.75 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.322e-05/1.194, allocations: 0 / 1.343 GB, free: 14.62 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.0005708/1.195, allocations: 438.7 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.195, allocations: 10.38 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.74e-05/1.195, allocations: 192 / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/1.195, allocations: 37.92 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/1.195, allocations: 12.39 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.195, allocations: 168.1 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/1.195, allocations: 5.047 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/1.195, allocations: 10.03 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/1.195, allocations: 57.78 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.195, allocations: 4 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.195, allocations: 2.078 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.195, allocations: 0 / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/1.195, allocations: 18.2 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/1.196, allocations: 354 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.764e-05/1.196, allocations: 29.8 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/1.196, allocations: 19.36 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/1.196, allocations: 4 kB / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/1.196, allocations: 85.81 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.196, allocations: 0 / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002654/1.196, allocations: 104.5 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/1.196, allocations: 53.84 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.176e-05/1.196, allocations: 120.2 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/1.196, allocations: 29.52 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/1.196, allocations: 99.22 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/1.196, allocations: 10.84 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/1.196, allocations: 48.61 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.171e-05/1.196, allocations: 323.3 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/1.197, allocations: 59.36 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/1.197, allocations: 93.67 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/1.197, allocations: 158.8 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.197, allocations: 0 / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004265/1.197, allocations: 265.7 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/1.197, allocations: 71.7 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.197, allocations: 2.031 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/1.197, allocations: 1.938 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.286e-05/1.197, allocations: 10.98 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.197, allocations: 2.797 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/1.198, allocations: 56.16 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/1.198, allocations: 19.44 kB / 1.345 GB, free: 12.28 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,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 9.043e-05/1.198, allocations: 127 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/1.198, allocations: 7.047 kB / 1.346 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/1.198, allocations: 10.44 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.198, allocations: 1.766 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.198, allocations: 0 / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.198, allocations: 5.875 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/1.198, allocations: 178.8 kB / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.198, allocations: 0 / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/1.198, allocations: 5.828 kB / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/1.198, allocations: 5.531 kB / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/1.198, allocations: 2.75 kB / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.198, allocations: 0 / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.198, allocations: 4.062 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/1.198, allocations: 112.4 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/1.198, allocations: 83.09 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/1.198, allocations: 2.031 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/1.198, allocations: 2.219 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/1.198, allocations: 12.91 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/1.199, allocations: 3.453 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.058e-05/1.199, allocations: 92.73 kB / 1.346 GB, free: 11.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.199, allocations: 1.375 kB / 1.346 GB, free: 11.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002436/1.199, allocations: 38.75 kB / 1.346 GB, free: 11.64 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,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.0003785/1.199, allocations: 0.6531 MB / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003263/1.199, allocations: 214.5 kB / 1.347 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.199, allocations: 0 / 1.347 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/1.2, allocations: 24.12 kB / 1.347 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/1.2, allocations: 20.41 kB / 1.347 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/1.201, allocations: 1.719 MB / 1.349 GB, free: 9.406 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/1.202, allocations: 0.6857 MB / 1.349 GB, free: 8.711 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.993e-05/1.202, allocations: 9.125 kB / 1.349 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/1.202, allocations: 21.27 kB / 1.349 GB, free: 8.691 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/1.202, allocations: 0 / 1.349 GB, free: 8.691 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/1.222, allocations: 2.936 MB / 1.352 GB, free: 8.184 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/9.521, allocations: 8.516 kB / 1.352 GB, free: 8.184 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.24467074201675] Failed to read output from testmodel.py, exit status != 0: 9.649398085020948 9.662455834 8.465950512 Calling exit ...