Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001034, allocations: 182.6 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009437/0.0009438, allocations: 91.36 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 10.81 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2763, allocations: 106.3 MB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.4542, allocations: 131.8 MB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.4545, allocations: 75.95 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002696/0.4573, allocations: 0.9582 MB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4573, allocations: 0 / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.4573, allocations: 0 / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005739/0.4579, allocations: 383.1 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4579, allocations: 11.97 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.458, allocations: 38.48 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.458, allocations: 7.906 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.4582, allocations: 175 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4582, allocations: 4 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.4582, allocations: 7.938 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.4584, allocations: 69.66 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4585, allocations: 0 / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4585, allocations: 4 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4585, allocations: 4 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.4587, allocations: 51.89 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.4592, allocations: 312.7 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.4596, allocations: 122.5 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.4597, allocations: 4 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.4599, allocations: 87.42 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.4599, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004107/0.4603, allocations: 141.9 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.4604, allocations: 55.36 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.4605, allocations: 113.1 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4605, allocations: 29.7 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.4606, allocations: 84.14 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.4606, allocations: 31.8 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.4606, allocations: 0 / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4608, allocations: 318.8 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.4609, allocations: 31.97 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.461, allocations: 59.41 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.4611, allocations: 35.98 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4611, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002562/0.4614, allocations: 129.4 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4614, allocations: 4 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4614, allocations: 80 / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4614, allocations: 4.562 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/0.4615, allocations: 16.08 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.4615, allocations: 11.94 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.4617, allocations: 19.98 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4617, allocations: 7.938 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 9.825e-05/0.4618, allocations: 121.7 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.4618, allocations: 11.84 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.4618, allocations: 8.375 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4618, allocations: 4 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4618, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4619, allocations: 7.938 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.4623, allocations: 366.5 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4623, allocations: 4 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.4624, allocations: 16.05 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4624, allocations: 0 / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4624, allocations: 7.938 kB / 1.033 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4624, allocations: 3.953 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4624, allocations: 0 / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.4627, allocations: 208.2 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.4628, allocations: 81.11 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.4628, allocations: 0 / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4629, allocations: 15.98 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.463, allocations: 15.94 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.463, allocations: 4 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.271e-05/0.4631, allocations: 91.27 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4631, allocations: 0 / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002129/0.4633, allocations: 12 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0006285/0.4639, allocations: 0.7436 MB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.4642, allocations: 87.88 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4642, allocations: 0 / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.4643, allocations: 35.97 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.4646, allocations: 17.31 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.4658, allocations: 1.008 MB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.4661, allocations: 0.6965 MB / 1.036 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.4661, allocations: 8.141 kB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.4662, allocations: 19.42 kB / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4662, allocations: 0 / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.4783, allocations: 1.628 MB / 1.037 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.4785, allocations: 192.7 kB / 1.037 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.996, allocations: 0 / 1.037 GB, free: 3.227 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)