Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.664, allocations: 288.2 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 181.8 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 98.86 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004482, allocations: 13.56 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2626, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8473/1.11, allocations: 138.4 MB / 1.115 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.11, allocations: 70.23 kB / 1.115 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006812/1.117, allocations: 2.102 MB / 1.117 GB, free: 31.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.494e-06/1.117, allocations: 0 / 1.117 GB, free: 31.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.117, allocations: 3.969 kB / 1.117 GB, free: 31.92 MB / 0.698 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.0006237/1.118, allocations: 409.6 kB / 1.117 GB, free: 31.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.118, allocations: 11.67 kB / 1.117 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/1.118, allocations: 35.92 kB / 1.117 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/1.118, allocations: 11.56 kB / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/1.118, allocations: 180 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/1.118, allocations: 5.547 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/1.118, allocations: 7.75 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/1.119, allocations: 79.22 kB / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.119, allocations: 0 / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.119, allocations: 3.875 kB / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.119, allocations: 0 / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/1.119, allocations: 54.52 kB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/1.119, allocations: 324.3 kB / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/1.12, allocations: 69.14 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/1.12, allocations: 0 / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/1.12, allocations: 92.62 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/1.12, allocations: 0 / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004923/1.12, allocations: 161.8 kB / 1.118 GB, free: 30.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/1.121, allocations: 54.91 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/1.121, allocations: 109.3 kB / 1.118 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/1.121, allocations: 33.48 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/1.121, allocations: 96.2 kB / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/1.121, allocations: 18.72 kB / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/1.121, allocations: 0 / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.121, allocations: 327.4 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/1.121, allocations: 54.88 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/1.121, allocations: 89.97 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/1.122, allocations: 94.47 kB / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.122, allocations: 0 / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004617/1.122, allocations: 210.8 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/1.122, allocations: 40.3 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/1.122, allocations: 7.922 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.122, allocations: 3.844 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/1.122, allocations: 18.05 kB / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.122, allocations: 10.69 kB / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/1.123, allocations: 51.42 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/1.123, allocations: 10.73 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001556/1.123, allocations: 125.7 kB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/1.123, allocations: 3.906 kB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/1.123, allocations: 14.73 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.123, allocations: 0 / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.123, allocations: 0 / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.123, allocations: 4 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/1.123, allocations: 381.8 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.123, allocations: 3.875 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/1.123, allocations: 17.06 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.123, allocations: 0 / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/1.124, allocations: 0 / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.124, allocations: 0 / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.124, allocations: 3.938 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/1.124, allocations: 224.3 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/1.124, allocations: 77.11 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/1.124, allocations: 3.188 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.964e-05/1.124, allocations: 10.66 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/1.124, allocations: 6.516 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/1.124, allocations: 3.188 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.426e-05/1.124, allocations: 101.5 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.124, allocations: 0 / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002809/1.125, allocations: 22.5 kB / 1.12 GB, free: 29.27 MB / 0.698 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007549/1.125, allocations: 0.7757 MB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004165/1.126, allocations: 192 kB / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.126, allocations: 0 / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/1.126, allocations: 44.64 kB / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/1.126, allocations: 11.44 kB / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/1.127, allocations: 1.005 MB / 1.122 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/1.128, allocations: 0.6901 MB / 1.123 GB, free: 26.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.031e-05/1.128, allocations: 6.656 kB / 1.123 GB, free: 26.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/1.128, allocations: 18.28 kB / 1.123 GB, free: 26.83 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/1.128, allocations: 0 / 1.123 GB, free: 26.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/1.143, allocations: 2.191 MB / 1.125 GB, free: 26.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/1.143, allocations: 194.9 kB / 1.125 GB, free: 26.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.834, allocations: 8.5 kB / 1.125 GB, free: 26.36 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)