Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.001724/0.001724, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001993/0.001993, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.171/3.171, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Switch,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.002/0.002, allocations: 71.41 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3947, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002407/0.3971, allocations: 0.6836 MB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.399, allocations: 1.284 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.399, allocations: 8 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.086e-05/0.3991, allocations: 3.938 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.607e-05/0.3992, allocations: 19.73 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008604/0.4, allocations: 314.5 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.4004, allocations: 251.7 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.4005, allocations: 12.17 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.4006, allocations: 111.8 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.4008, allocations: 91.75 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.4008, allocations: 20 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.4009, allocations: 35.98 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.401, allocations: 15.94 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.4011, allocations: 79.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.4014, allocations: 223.6 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.4014, allocations: 3.984 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4014, allocations: 4 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4014, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006602/0.4021, allocations: 423.1 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4022, allocations: 8.031 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.447e-05/0.4022, allocations: 192 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.4022, allocations: 34.75 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.4023, allocations: 8.938 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4024, allocations: 126.4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.4024, allocations: 12.36 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.4025, allocations: 12.38 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.4026, allocations: 61.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4026, allocations: 4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4027, allocations: 3.984 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4027, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.57e-05/0.4027, allocations: 20 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.4033, allocations: 351.6 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.667e-05/0.4034, allocations: 34.5 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.4034, allocations: 12.86 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.4034, allocations: 4.094 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.4037, allocations: 107.2 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.4037, allocations: 4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.000338/0.404, allocations: 145.5 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.4041, allocations: 51.41 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.4042, allocations: 135.8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.4042, allocations: 33.7 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.4043, allocations: 96.09 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.4044, allocations: 23.92 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.4045, allocations: 73.66 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4047, allocations: 318.8 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.4049, allocations: 177 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.4052, allocations: 228.8 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.4055, allocations: 239 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4055, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007135/0.4062, allocations: 473.6 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/0.4063, allocations: 99 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4063, allocations: 4 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.4063, allocations: 3.984 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.967e-05/0.4064, allocations: 11.94 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.4064, allocations: 4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.4069, allocations: 83.8 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.4069, allocations: 19.98 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001628/0.4071, allocations: 128.1 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.4071, allocations: 15.88 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.4071, allocations: 8.375 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4071, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4071, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4071, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.4073, allocations: 160.7 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4073, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.328e-05/0.4073, allocations: 8.375 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4074, allocations: 3.984 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4074, allocations: 4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4074, allocations: 3.938 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4074, allocations: 7.938 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.4076, allocations: 140.9 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.4076, allocations: 15.88 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.4076, allocations: 4 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.4077, allocations: 0 / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.4077, allocations: 11.98 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.4077, allocations: 8 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.767e-05/0.4078, allocations: 96.81 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4078, allocations: 0 / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002836/0.4081, allocations: 51.92 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006084/0.4087, allocations: 0.671 MB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005899/0.4093, allocations: 415.1 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4093, allocations: 4 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.4094, allocations: 36.3 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.4097, allocations: 28.52 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.4128, allocations: 2.43 MB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.116e-05/0.4129, allocations: 79.89 kB / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.4129, allocations: 16.41 kB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.413, allocations: 27.44 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/0.413, allocations: 0 / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.4394, allocations: 4.271 MB / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.77, allocations: 11.86 kB / 1.341 GB, free: 1.781 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.738100562943146] Failed to read output from testmodel.py, exit status != 0: 11.940634898957796 11.969604474 11.562950253 Calling exit ...