Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 180.9 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008789/0.0008791, allocations: 88.19 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.552e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2252, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7884/1.014, allocations: 132 MB / 1.014 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/1.014, allocations: 70.12 kB / 1.014 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002609/1.017, allocations: 0.9541 MB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/1.017, allocations: 4 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.052e-05/1.017, allocations: 4 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005058/1.017, allocations: 361.3 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.017, allocations: 8.031 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/1.017, allocations: 10.84 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/1.017, allocations: 182.9 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/1.017, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/1.017, allocations: 7.938 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.347e-05/1.018, allocations: 18.31 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/1.018, allocations: 48.12 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.018, allocations: 3.984 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/1.018, allocations: 0 / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.018, allocations: 0 / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/1.018, allocations: 281.8 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/1.019, allocations: 100.5 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/1.019, allocations: 23.66 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/1.019, allocations: 0 / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/1.019, allocations: 65.89 kB / 1.016 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/1.019, allocations: 6.625 kB / 1.016 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002105/1.019, allocations: 72.88 kB / 1.016 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.019, allocations: 59.34 kB / 1.016 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/1.019, allocations: 103.9 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/1.019, allocations: 29.7 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/1.019, allocations: 90.97 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/1.019, allocations: 15.8 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/1.019, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.019, allocations: 322.7 kB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/1.019, allocations: 15 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.834e-05/1.019, allocations: 38.36 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/1.02, allocations: 11.44 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.02, allocations: 4 kB / 1.017 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001155/1.02, allocations: 79.72 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.02, allocations: 8.188 kB / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/1.02, allocations: 0 / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.02, allocations: 3.938 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/1.02, allocations: 23.11 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.02, allocations: 4 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-05/1.02, allocations: 12.08 kB / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/1.02, allocations: 12.83 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 7.785e-05/1.02, allocations: 110.5 kB / 1.017 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000103/1.02, allocations: 79.47 kB / 1.017 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/1.02, allocations: 11.84 kB / 1.017 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/1.02, allocations: 7.25 kB / 1.017 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.02, allocations: 0 / 1.017 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.02, allocations: 3.953 kB / 1.017 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/1.02, allocations: 0 / 1.017 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/1.021, allocations: 312 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.021, allocations: 3.438 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/1.021, allocations: 15.92 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/1.021, allocations: 0 / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/1.021, allocations: 3.312 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1.021, allocations: 3.953 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.021, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/1.021, allocations: 177.8 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/1.021, allocations: 77.11 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/1.021, allocations: 3.984 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/1.021, allocations: 15.98 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/1.021, allocations: 11.94 kB / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/1.021, allocations: 0 / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.466e-05/1.021, allocations: 88.91 kB / 1.018 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.021, allocations: 4 kB / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002164/1.021, allocations: 15.94 kB / 1.018 GB, free: 1.391 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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 (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.000441/1.022, allocations: 0.7045 MB / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001085/1.022, allocations: 46.38 kB / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.022, allocations: 4.188 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.37e-05/1.022, allocations: 15.62 kB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/1.022, allocations: 26.16 kB / 1.019 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/1.023, allocations: 128.6 kB / 1.019 GB, free: 464 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/1.023, allocations: 0.6923 MB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.959e-05/1.023, allocations: 15.84 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/1.023, allocations: 14.81 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/1.023, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/1.041, allocations: 1.303 MB / 1.021 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/1.041, allocations: 160.5 kB / 1.021 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/2.483, allocations: 6.812 kB / 1.021 GB, free: 14.22 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)