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.001295/0.001295, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001854/0.001854, allocations: 220.2 kB / 23.03 MB, free: 4.941 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.284/3.284, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.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.002072/0.002072, allocations: 60.52 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3945, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002364/0.3969, allocations: 0.6434 MB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3987, allocations: 1.202 MB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.3987, allocations: 0 / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.3988, allocations: 3.938 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.267e-05/0.3989, allocations: 15.86 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.3996, allocations: 212.2 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.3999, allocations: 175.7 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.984e-05/0.4, allocations: 15.98 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.4001, allocations: 67.89 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.4003, allocations: 63.84 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.4003, allocations: 16 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.381e-05/0.4004, allocations: 23.98 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.4004, allocations: 15.88 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.459e-05/0.4005, allocations: 59.88 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.4008, allocations: 139.9 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4008, allocations: 7.938 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4008, allocations: 4 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4008, allocations: 0 / 1.348 GB, free: 13.26 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.0005558/0.4013, allocations: 357.5 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4014, allocations: 12.03 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.847e-05/0.4014, allocations: 8.109 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.4014, allocations: 38.73 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.4015, allocations: 12.89 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.4016, allocations: 110.5 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4016, allocations: 4.375 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.4016, allocations: 12.38 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.4018, allocations: 61.92 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.4018, allocations: 0 / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.4018, allocations: 0 / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4018, allocations: 0 / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.463e-05/0.4018, allocations: 15.98 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.4024, allocations: 299.8 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.566e-05/0.4025, allocations: 30.52 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.4025, allocations: 16.94 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.4025, allocations: 0 / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.4027, allocations: 79.38 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.4027, allocations: 4 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002749/0.403, allocations: 105.5 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.4031, allocations: 59.41 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.4032, allocations: 117.8 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.4032, allocations: 29.7 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.4033, allocations: 92.09 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.4033, allocations: 15.91 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.4034, allocations: 50.06 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4036, allocations: 318.8 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.4038, allocations: 123.4 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.404, allocations: 159.6 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.4042, allocations: 163.5 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4042, allocations: 0 / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005085/0.4047, allocations: 320.4 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.4047, allocations: 67.39 kB / 1.35 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4047, allocations: 4.125 kB / 1.35 GB, free: 10.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4048, allocations: 8 kB / 1.35 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-05/0.4048, allocations: 0 / 1.35 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4048, allocations: 4 kB / 1.35 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.4051, allocations: 63.81 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.4052, allocations: 8 kB / 1.351 GB, free: 10.23 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,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 0.0001116/0.4053, allocations: 129.7 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.4053, allocations: 11.95 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.4053, allocations: 12.31 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4053, allocations: 0 / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4053, allocations: 4 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4053, allocations: 0 / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.4055, allocations: 148.7 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4055, allocations: 0 / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-06/0.4055, allocations: 0 / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4055, allocations: 0 / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4055, allocations: 0 / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4055, allocations: 4 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4055, allocations: 4 kB / 1.351 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.4057, allocations: 113 kB / 1.351 GB, free: 9.738 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.4057, allocations: 4 kB / 1.351 GB, free: 9.734 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.4057, allocations: 4.094 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/0.4057, allocations: 7.922 kB / 1.351 GB, free: 9.723 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.4058, allocations: 7.938 kB / 1.351 GB, free: 9.715 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.4058, allocations: 0 / 1.351 GB, free: 9.715 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.4058, allocations: 91.27 kB / 1.351 GB, free: 9.625 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4058, allocations: 0 / 1.351 GB, free: 9.625 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002476/0.4061, allocations: 35.94 kB / 1.351 GB, free: 9.59 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,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.0004902/0.4065, allocations: 0.6543 MB / 1.352 GB, free: 8.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.4069, allocations: 282.1 kB / 1.352 GB, free: 8.598 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4069, allocations: 4 kB / 1.352 GB, free: 8.594 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.407, allocations: 19.94 kB / 1.352 GB, free: 8.574 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.4072, allocations: 17.02 kB / 1.352 GB, free: 8.559 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.4095, allocations: 1.971 MB / 1.354 GB, free: 6.414 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.284e-05/0.4096, allocations: 71.33 kB / 1.354 GB, free: 6.324 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.686e-05/0.4096, allocations: 11.77 kB / 1.354 GB, free: 6.312 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.4097, allocations: 23.38 kB / 1.354 GB, free: 6.289 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/0.4097, allocations: 0.5625 kB / 1.354 GB, free: 6.289 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.4339, allocations: 3.236 MB / 1.357 GB, free: 3.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.6, allocations: 9.781 kB / 1.357 GB, free: 3.223 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.62323689099867] Failed to read output from testmodel.py, exit status != 0: 11.76595517504029 11.783395204 11.379307155 Calling exit ...