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 2.719/2.719, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001864/0.001864, allocations: 176.9 kB / 361.4 MB, free: 6.793 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.813/1.813, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.001123/0.001124, allocations: 89.8 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.704e-05, allocations: 4 kB / 0.8519 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5448, allocations: 115.3 MB / 0.9645 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.6827, allocations: 137.6 MB / 1.099 GB, free: 2.074 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.6829, allocations: 71.95 kB / 1.099 GB, free: 2.004 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005437/0.6884, allocations: 2.082 MB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6884, allocations: 2.125 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6884, allocations: 0 / 1.101 GB, free: 15.98 MB / 0.7136 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.0003893/0.6888, allocations: 400 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.6889, allocations: 12.03 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.6889, allocations: 7.906 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.689, allocations: 181.9 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.689, allocations: 0 / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.6891, allocations: 11.94 kB / 1.102 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.369e-05/0.6891, allocations: 12 kB / 1.102 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.943e-05/0.6892, allocations: 50.91 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.6892, allocations: 0.7812 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.6892, allocations: 0 / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-06/0.6893, allocations: 0.875 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.6896, allocations: 308.5 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.6897, allocations: 42.58 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.6898, allocations: 24.02 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.6898, allocations: 3.938 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.6899, allocations: 75.38 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.6899, allocations: 0 / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001725/0.6901, allocations: 85.59 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.6901, allocations: 58.81 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.6902, allocations: 104.9 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.6902, allocations: 36.61 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.6903, allocations: 88.14 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.6903, allocations: 15.8 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.6904, allocations: 4 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.6904, allocations: 318.8 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.6905, allocations: 43.98 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.6906, allocations: 60.3 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.6908, allocations: 43.95 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6908, allocations: 0 / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003199/0.6911, allocations: 159.1 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.6912, allocations: 37.7 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6912, allocations: 0 / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.6912, allocations: 7.703 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.6913, allocations: 14.92 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6913, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.6915, allocations: 48.08 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.6915, allocations: 4 kB / 1.103 GB, free: 13.56 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 7.502e-05/0.6916, allocations: 129.7 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001056/0.6917, allocations: 77.59 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.6917, allocations: 11.91 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.6918, allocations: 4.625 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6918, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.6918, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6918, allocations: 4 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.6921, allocations: 320.8 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.6921, allocations: 11.92 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.6921, allocations: 12 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6921, allocations: 0 / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.6922, allocations: 0 / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6922, allocations: 3.984 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6922, allocations: 0 / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.6923, allocations: 184.9 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.6924, allocations: 77.11 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.6924, allocations: 7.984 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.6925, allocations: 8 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.6925, allocations: 7.984 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.6925, allocations: 3.375 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.6926, allocations: 98.11 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6926, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002358/0.6928, allocations: 24 kB / 1.104 GB, free: 12.51 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.0003899/0.6932, allocations: 0.7316 MB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.6934, allocations: 135.4 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6934, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.673e-05/0.6935, allocations: 34.67 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.6937, allocations: 12.25 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.694, allocations: 145.7 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.6942, allocations: 0.6885 MB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.6943, allocations: 7.984 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.6943, allocations: 19.44 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.6943, allocations: 0 / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/0.828, allocations: 1.83 MB / 1.108 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000371/0.8285, allocations: 150.5 kB / 1.108 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/3.752, allocations: 2.125 kB / 1.108 GB, free: 8.688 MB / 0.7136 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)