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.913/1.913, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001068/0.001068, allocations: 183.8 kB / 371.6 MB, free: 3.383 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.897/1.897, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0008804/0.0008803, allocations: 92.12 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.087e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2786, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8441/1.123, allocations: 139.3 MB / 1.116 GB, free: 44.5 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.123, allocations: 68.45 kB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005865/1.129, allocations: 2.087 MB / 1.118 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.403e-06/1.129, allocations: 0 / 1.118 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.129, allocations: 4 kB / 1.118 GB, free: 43.22 MB / 0.7448 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.0004123/1.129, allocations: 399.3 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.129, allocations: 12.03 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/1.13, allocations: 38.31 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/1.13, allocations: 8.844 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.179e-05/1.13, allocations: 174.4 kB / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/1.13, allocations: 8.391 kB / 1.119 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/1.13, allocations: 11.56 kB / 1.119 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/1.13, allocations: 48.66 kB / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.13, allocations: 4 kB / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/1.13, allocations: 0 / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/1.13, allocations: 0 / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/1.13, allocations: 26.83 kB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/1.13, allocations: 330.1 kB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/1.131, allocations: 41.28 kB / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/1.131, allocations: 28.25 kB / 1.119 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/1.131, allocations: 0 / 1.119 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/1.131, allocations: 81.3 kB / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/1.131, allocations: 0 / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001944/1.131, allocations: 87.55 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/1.131, allocations: 59.34 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/1.131, allocations: 105.3 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/1.131, allocations: 37.2 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/1.131, allocations: 92.11 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/1.131, allocations: 22.31 kB / 1.12 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/1.131, allocations: 2.812 kB / 1.12 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.114e-05/1.131, allocations: 325.7 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/1.131, allocations: 36.06 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.955e-05/1.131, allocations: 67.58 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.146e-05/1.132, allocations: 77.23 kB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.132, allocations: 0 / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002859/1.132, allocations: 177.5 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/1.132, allocations: 36.7 kB / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/1.132, allocations: 128 / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.132, allocations: 8.516 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/1.132, allocations: 15.36 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/1.132, allocations: 6.75 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/1.132, allocations: 49.06 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/1.132, allocations: 7.562 kB / 1.12 GB, free: 40.93 MB / 0.7448 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 () * 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 6.483e-05/1.132, allocations: 120 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/1.132, allocations: 6.969 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/1.132, allocations: 12.98 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.132, allocations: 3.562 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/1.132, allocations: 3.938 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.132, allocations: 0 / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/1.133, allocations: 356.9 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.133, allocations: 0 / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/1.133, allocations: 12.64 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.133, allocations: 0 / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/1.133, allocations: 0 / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/1.133, allocations: 4.688 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.133, allocations: 0.7031 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/1.133, allocations: 191.2 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/1.133, allocations: 81.02 kB / 1.121 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/1.133, allocations: 10.8 kB / 1.121 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/1.133, allocations: 4 kB / 1.121 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/1.133, allocations: 7.328 kB / 1.121 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/1.133, allocations: 8.016 kB / 1.121 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.23e-05/1.133, allocations: 91.5 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.133, allocations: 4.656 kB / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002426/1.133, allocations: 31.33 kB / 1.121 GB, free: 40.02 MB / 0.7448 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) * 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.0003483/1.134, allocations: 0.7256 MB / 1.122 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002021/1.134, allocations: 150.1 kB / 1.122 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.134, allocations: 4.062 kB / 1.122 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/1.134, allocations: 27.44 kB / 1.122 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/1.134, allocations: 15.53 kB / 1.122 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/1.135, allocations: 141.9 kB / 1.122 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/1.135, allocations: 0.6953 MB / 1.123 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.238e-05/1.135, allocations: 8 kB / 1.123 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/1.135, allocations: 21.53 kB / 1.123 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/1.135, allocations: 1.406 kB / 1.123 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/1.149, allocations: 2.199 MB / 1.125 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/1.15, allocations: 155.9 kB / 1.125 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.688, allocations: 3.938 kB / 1.125 GB, free: 36.84 MB / 0.7448 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)