Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.479/2.479, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001454/0.001454, allocations: 168.8 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001096/0.001095, allocations: 89.09 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.585e-05, allocations: 8 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8251/0.8251, allocations: 115.3 MB / 0.9634 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/1.068, allocations: 137.5 MB / 1.098 GB, free: 3.047 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.068, allocations: 75.89 kB / 1.098 GB, free: 2.973 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01006/1.078, allocations: 2.078 MB / 1.1 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.332e-06/1.078, allocations: 0 / 1.1 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.078, allocations: 0.5312 kB / 1.1 GB, free: 0.9414 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.0006375/1.079, allocations: 400.5 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.079, allocations: 14.34 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/1.079, allocations: 13.09 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/1.079, allocations: 174.9 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/1.079, allocations: 0 / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/1.079, allocations: 8 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001039/1.079, allocations: 16 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/1.079, allocations: 50.3 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/1.079, allocations: 0 / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/1.079, allocations: 4 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/1.079, allocations: 1.938 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/1.08, allocations: 309.8 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/1.08, allocations: 42.64 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.925e-05/1.08, allocations: 20.98 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/1.08, allocations: 4.875 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/1.08, allocations: 75.38 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.993e-06/1.08, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002817/1.081, allocations: 85.59 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.081, allocations: 58.12 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/1.081, allocations: 114.8 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/1.081, allocations: 29.7 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/1.081, allocations: 88.14 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/1.081, allocations: 19.8 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/1.081, allocations: 0 / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.081, allocations: 322.8 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.081, allocations: 35.98 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/1.082, allocations: 64.3 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/1.082, allocations: 49.75 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.082, allocations: 0 / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005678/1.083, allocations: 149.4 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/1.083, allocations: 34.92 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.083, allocations: 4 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.083, allocations: 4 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/1.083, allocations: 11.98 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.083, allocations: 4 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/1.083, allocations: 51.95 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/1.083, allocations: 4 kB / 1.102 GB, free: 14.51 MB / 0.7136 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 0.0001272/1.083, allocations: 130.6 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001904/1.084, allocations: 81.58 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/1.084, allocations: 7.906 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/1.084, allocations: 9.141 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/1.084, allocations: 3 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.084, allocations: 4 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.084, allocations: 4 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/1.084, allocations: 321.8 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.084, allocations: 10.09 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/1.084, allocations: 12 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.084, allocations: 0.5625 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/1.084, allocations: 3.984 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.084, allocations: 4 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.084, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/1.085, allocations: 179.3 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/1.085, allocations: 77.11 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/1.085, allocations: 9.859 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/1.085, allocations: 4 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/1.085, allocations: 11.98 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/1.085, allocations: 4 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.835e-05/1.085, allocations: 98.28 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.085, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003888/1.085, allocations: 24 kB / 1.103 GB, free: 13.45 MB / 0.7136 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.0006687/1.086, allocations: 0.7241 MB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003514/1.087, allocations: 139.4 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.087, allocations: 0 / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/1.087, allocations: 23.94 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/1.087, allocations: 15.98 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/1.088, allocations: 136.5 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/1.088, allocations: 0.6926 MB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.496e-05/1.088, allocations: 7.984 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/1.088, allocations: 19.44 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/1.088, allocations: 1.688 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/1.123, allocations: 1.821 MB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003443/1.123, allocations: 145.4 kB / 1.107 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.323, allocations: 0 / 1.107 GB, free: 9.656 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)