Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.6 MB / 307.5 MB, free: 5.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.001506/0.001506, allocations: 169.2 kB / 377.1 MB, free: 1.523 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.691/1.691, allocations: 205.4 MB / 0.6366 GB, free: 9.562 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 83.25 kB / 0.7509 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 12 kB / 0.8749 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.279, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8026/1.082, allocations: 139.3 MB / 1.125 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/1.082, allocations: 76.14 kB / 1.125 GB, free: 35.37 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005708/1.088, allocations: 2.098 MB / 1.127 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.205e-06/1.088, allocations: 0 / 1.127 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.088, allocations: 0 / 1.127 GB, free: 33.84 MB / 0.7292 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.0004712/1.088, allocations: 412.2 kB / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.088, allocations: 12.02 kB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/1.088, allocations: 34.56 kB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/1.088, allocations: 13.97 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.2e-05/1.088, allocations: 174.3 kB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/1.088, allocations: 0.6562 kB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/1.089, allocations: 15.94 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/1.089, allocations: 69.27 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.089, allocations: 4.438 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/1.089, allocations: 4.516 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.089, allocations: 1.719 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/1.089, allocations: 53.27 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/1.089, allocations: 328.3 kB / 1.128 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/1.09, allocations: 69.52 kB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/1.09, allocations: 0 / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/1.09, allocations: 97.36 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/1.09, allocations: 4 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004318/1.09, allocations: 155.2 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/1.09, allocations: 52.06 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/1.09, allocations: 112.4 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/1.091, allocations: 29.7 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/1.091, allocations: 99.56 kB / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/1.091, allocations: 11.8 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/1.091, allocations: 8 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/1.091, allocations: 322.2 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/1.091, allocations: 63.11 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/1.091, allocations: 82.89 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/1.091, allocations: 89.38 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.091, allocations: 0 / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000393/1.092, allocations: 224.4 kB / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/1.092, allocations: 36.52 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.092, allocations: 0.5625 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.092, allocations: 0.5625 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/1.092, allocations: 19.5 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.092, allocations: 0 / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/1.092, allocations: 60.05 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/1.092, allocations: 12.48 kB / 1.129 GB, free: 31.18 MB / 0.7292 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 8.969e-05/1.092, allocations: 121.8 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/1.092, allocations: 8.469 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/1.092, allocations: 11.8 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.092, allocations: 4 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.092, allocations: 0 / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.092, allocations: 0.5625 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/1.093, allocations: 385.7 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.093, allocations: 4.938 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/1.093, allocations: 16.16 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.093, allocations: 0 / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.093, allocations: 0 / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.093, allocations: 5.016 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.093, allocations: 1.062 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/1.093, allocations: 221.5 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/1.093, allocations: 84.62 kB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/1.093, allocations: 4 kB / 1.13 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/1.093, allocations: 11.47 kB / 1.13 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/1.093, allocations: 8.406 kB / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/1.093, allocations: 5.547 kB / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.22e-05/1.093, allocations: 92.27 kB / 1.13 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.093, allocations: 0 / 1.13 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002686/1.094, allocations: 32 kB / 1.13 GB, free: 30.16 MB / 0.7292 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.000533/1.094, allocations: 0.7627 MB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003517/1.095, allocations: 191.8 kB / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.095, allocations: 3.938 kB / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/1.095, allocations: 43.55 kB / 1.131 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/1.095, allocations: 12.44 kB / 1.131 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/1.096, allocations: 1.01 MB / 1.132 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/1.096, allocations: 0.6879 MB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.616e-05/1.096, allocations: 8.219 kB / 1.133 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/1.096, allocations: 15.44 kB / 1.133 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/1.096, allocations: 4 kB / 1.133 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/1.109, allocations: 2.185 MB / 1.135 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/1.11, allocations: 179.8 kB / 1.135 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.826, allocations: 0 / 1.135 GB, free: 25.96 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)