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 1.763/1.763, allocations: 285.4 MB / 298 MB, free: 5.969 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.001128/0.001128, allocations: 184.8 kB / 366.4 MB, free: 2.078 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.665/1.665, allocations: 205.1 MB / 0.6248 GB, free: 7.707 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.0008433/0.0008434, allocations: 102 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.144e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.6993, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.8891, allocations: 138.3 MB / 1.106 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.8894, allocations: 71.94 kB / 1.106 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006663/0.8961, allocations: 2.087 MB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8962, allocations: 0 / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.8962, allocations: 4 kB / 1.108 GB, free: 11.37 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.0004924/0.8967, allocations: 405.6 kB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.8967, allocations: 12.53 kB / 1.109 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.8968, allocations: 34.56 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.8968, allocations: 7.906 kB / 1.109 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.897, allocations: 175 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.897, allocations: 8 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.897, allocations: 4 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.8971, allocations: 54.36 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.8972, allocations: 4 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.8972, allocations: 2.094 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8972, allocations: 0 / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.217e-05/0.8973, allocations: 21.94 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.8978, allocations: 330.5 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.8979, allocations: 43.89 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.898, allocations: 28.86 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.898, allocations: 4 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.8981, allocations: 79.44 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.754e-06/0.8982, allocations: 0 / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002127/0.8984, allocations: 88.25 kB / 1.109 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.8984, allocations: 55.41 kB / 1.109 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.868e-05/0.8985, allocations: 111.7 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.8986, allocations: 33.7 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.8987, allocations: 97.86 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.8987, allocations: 19.78 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.8987, allocations: 4 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8988, allocations: 322.8 kB / 1.11 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.764e-05/0.8989, allocations: 39.98 kB / 1.11 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.899, allocations: 64.3 kB / 1.11 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.8992, allocations: 73.67 kB / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8992, allocations: 0 / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000312/0.8995, allocations: 179.1 kB / 1.11 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.8995, allocations: 41.69 kB / 1.11 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8995, allocations: 0 / 1.11 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.8996, allocations: 4.125 kB / 1.11 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.8997, allocations: 15.98 kB / 1.11 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.8997, allocations: 4 kB / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.8999, allocations: 43.97 kB / 1.11 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.9, allocations: 11.98 kB / 1.11 GB, free: 8.754 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.0001015/0.9001, allocations: 130.3 kB / 1.111 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.9001, allocations: 3.906 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.9001, allocations: 12.62 kB / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.9001, allocations: 1.406 kB / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.9001, allocations: 3.938 kB / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.9002, allocations: 3.984 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.9005, allocations: 358.4 kB / 1.111 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9005, allocations: 0 / 1.111 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.9006, allocations: 11.98 kB / 1.111 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9006, allocations: 0 / 1.111 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.9006, allocations: 4 kB / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9007, allocations: 0 / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9007, allocations: 0 / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.9009, allocations: 193.4 kB / 1.111 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.9009, allocations: 81.02 kB / 1.111 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.9009, allocations: 4 kB / 1.111 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.901, allocations: 11.98 kB / 1.111 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.9011, allocations: 7.984 kB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.9011, allocations: 2.906 kB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.9011, allocations: 91.28 kB / 1.111 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9011, allocations: 0 / 1.111 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002566/0.9014, allocations: 31.95 kB / 1.111 GB, free: 7.734 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.0005435/0.902, allocations: 0.7335 MB / 1.112 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.9022, allocations: 147.3 kB / 1.112 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9022, allocations: 256 / 1.112 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.586e-05/0.9023, allocations: 28 kB / 1.112 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.9025, allocations: 15.98 kB / 1.112 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.903, allocations: 145.4 kB / 1.112 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.9033, allocations: 0.6926 MB / 1.113 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.674e-05/0.9033, allocations: 7.984 kB / 1.113 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.9034, allocations: 23.44 kB / 1.113 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.9034, allocations: 0 / 1.113 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.9171, allocations: 2.2 MB / 1.115 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.9173, allocations: 176.6 kB / 1.115 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.513, allocations: 0 / 1.115 GB, free: 3.629 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)