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.00196/0.00196, 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.002516/0.002516, allocations: 212.1 kB / 23.04 MB, free: 5.078 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.346/3.346, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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.002045/0.002045, allocations: 60.64 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3978, allocations: 179 MB / 1.345 GB, free: 440 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001921/0.3997, allocations: 0.6528 MB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.4013, allocations: 1.222 MB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.4014, allocations: 4 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.4014, allocations: 3.938 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.4015, allocations: 11.92 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.4021, allocations: 216.2 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.4024, allocations: 171.7 kB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.4025, allocations: 15.98 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.4026, allocations: 67.91 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.4027, allocations: 71.77 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.4028, allocations: 16 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.4028, allocations: 24 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.4029, allocations: 15.92 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.403, allocations: 55.89 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.4032, allocations: 151.8 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4032, allocations: 0 / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4032, allocations: 0 / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4032, allocations: 0 / 1.348 GB, free: 13.74 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.0005629/0.4038, allocations: 373.5 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4038, allocations: 8.031 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.086e-05/0.4038, allocations: 4.188 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.4038, allocations: 34.69 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.4039, allocations: 12.89 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.404, allocations: 110.5 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.404, allocations: 8.375 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.4041, allocations: 12.38 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.4042, allocations: 46 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4042, allocations: 4 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4042, allocations: 3.984 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4042, allocations: 0 / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.4042, allocations: 15.94 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.4048, allocations: 331.7 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.668e-05/0.4048, allocations: 26.58 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.4049, allocations: 16.94 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.4049, allocations: 4 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.4051, allocations: 87.3 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.4051, allocations: 0 / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002581/0.4053, allocations: 101.6 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4054, allocations: 55.41 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.4055, allocations: 121.8 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.4056, allocations: 37.64 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.4056, allocations: 96.09 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.4056, allocations: 7.953 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4058, allocations: 49.67 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4059, allocations: 326.7 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4061, allocations: 55.97 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.4062, allocations: 92.25 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.4064, allocations: 159.6 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4064, allocations: 0 / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004343/0.4069, allocations: 268.8 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.4069, allocations: 71.53 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4069, allocations: 0 / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4069, allocations: 7.984 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.956e-05/0.407, allocations: 4 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.407, allocations: 7.938 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.4073, allocations: 51.89 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.4074, allocations: 11.98 kB / 1.35 GB, free: 10.89 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.0001183/0.4075, allocations: 132.7 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.4075, allocations: 7.953 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.4075, allocations: 8.844 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4075, allocations: 0 / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4075, allocations: 64 / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4075, allocations: 4 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.4077, allocations: 152.7 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4077, allocations: 3.938 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-06/0.4077, allocations: 4 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4077, allocations: 4 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4077, allocations: 0 / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4077, allocations: 0 / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4077, allocations: 4 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.4078, allocations: 113 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.4078, allocations: 7.953 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.4079, allocations: 3.984 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.4079, allocations: 0 / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.4079, allocations: 15.97 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4079, allocations: 8 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.408, allocations: 91.22 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.408, allocations: 0 / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000256/0.4082, allocations: 31.92 kB / 1.351 GB, free: 10.24 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.0005014/0.4087, allocations: 0.6436 MB / 1.352 GB, free: 9.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.4091, allocations: 222.7 kB / 1.352 GB, free: 9.328 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4091, allocations: 0 / 1.352 GB, free: 9.328 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.4091, allocations: 19.98 kB / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.4094, allocations: 17.53 kB / 1.352 GB, free: 9.293 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.4114, allocations: 1.725 MB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.4117, allocations: 0.6955 MB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.4118, allocations: 11.78 kB / 1.354 GB, free: 6.715 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.4118, allocations: 15.44 kB / 1.354 GB, free: 6.699 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.4118, allocations: 0 / 1.354 GB, free: 6.699 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.4433, allocations: 3.054 MB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.57, allocations: 6.406 kB / 1.357 GB, free: 3.797 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.706725965021178] Failed to read output from testmodel.py, exit status != 0: 11.738929183979053 11.760044561 11.353124772 Calling exit ...