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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008169/0.000817, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009271/0.0009272, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005865/0.0005865, allocations: 21.69 kB / 0.6739 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2987, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001182/0.2999, allocations: 482.1 kB / 0.7879 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3017, allocations: 1.134 MB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.3018, allocations: 0 / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.3018, allocations: 0 / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.3019, allocations: 7.922 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.3025, allocations: 127.5 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.3027, allocations: 91.75 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3028, allocations: 19.92 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.303, allocations: 43.89 kB / 0.7893 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.303, allocations: 31.84 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.3031, allocations: 8 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.3032, allocations: 11.98 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.3032, allocations: 19.91 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.3033, allocations: 41.7 kB / 0.7894 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.3034, allocations: 72.11 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3034, allocations: 0 / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3034, allocations: 0 / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3035, allocations: 0 / 0.7894 GB, free: 9.742 MB / 0.6075 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/0.3041, allocations: 399.5 kB / 0.7898 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.3042, allocations: 8.031 kB / 0.7898 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.3042, allocations: 38.56 kB / 0.7899 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.545e-05/0.3043, allocations: 8 kB / 0.7899 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3044, allocations: 182.8 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3045, allocations: 0 / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.3045, allocations: 11.98 kB / 0.7901 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.3048, allocations: 69.66 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3048, allocations: 0 / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3048, allocations: 4 kB / 0.7901 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3048, allocations: 4 kB / 0.7901 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.305, allocations: 47.95 kB / 0.7902 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.3056, allocations: 336.6 kB / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.3058, allocations: 62.61 kB / 0.7906 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3059, allocations: 44.95 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.3059, allocations: 0 / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.3062, allocations: 103.3 kB / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.3062, allocations: 0 / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004467/0.3067, allocations: 153.6 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3067, allocations: 55.41 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.3069, allocations: 129.6 kB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.3069, allocations: 33.7 kB / 0.7911 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.307, allocations: 88.14 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.3071, allocations: 11.81 kB / 0.7911 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.3071, allocations: 8 kB / 0.7912 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3072, allocations: 314.8 kB / 0.7915 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3074, allocations: 63.95 kB / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3076, allocations: 96.2 kB / 0.7916 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3078, allocations: 89.97 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3078, allocations: 0 / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004465/0.3082, allocations: 223.1 kB / 0.7919 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.3083, allocations: 37.69 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.3083, allocations: 4.125 kB / 0.7919 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3083, allocations: 7.938 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.3084, allocations: 11.98 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3084, allocations: 4 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.3087, allocations: 55.89 kB / 0.792 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.3087, allocations: 7.953 kB / 0.792 GB, free: 6.816 MB / 0.6075 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 () * Number of clocked 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.0001155/0.3088, allocations: 121.8 kB / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.3089, allocations: 7.906 kB / 0.7922 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.3089, allocations: 8.375 kB / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3089, allocations: 3.984 kB / 0.7922 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3089, allocations: 4 kB / 0.7922 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3089, allocations: 4 kB / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.3094, allocations: 382.3 kB / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3094, allocations: 0 / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.3095, allocations: 15.98 kB / 0.7926 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3095, allocations: 4 kB / 0.7926 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3095, allocations: 4 kB / 0.7926 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3095, allocations: 0 / 0.7926 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3095, allocations: 3.938 kB / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.3099, allocations: 215.5 kB / 0.7928 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.31, allocations: 85 kB / 0.7929 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.31, allocations: 8 kB / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.3101, allocations: 7.984 kB / 0.7929 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.3101, allocations: 4 kB / 0.7929 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.3102, allocations: 7.938 kB / 0.7929 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.3102, allocations: 99.22 kB / 0.793 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3102, allocations: 0 / 0.793 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002783/0.3105, allocations: 24 kB / 0.793 GB, free: 5.727 MB / 0.6075 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) * Number of clocked states: 0 () * 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.0007818/0.3113, allocations: 0.7553 MB / 0.7937 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.3117, allocations: 183.5 kB / 0.7939 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3117, allocations: 4.062 kB / 0.7939 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3119, allocations: 47.91 kB / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3122, allocations: 12 kB / 0.794 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.3136, allocations: 0.6889 MB / 0.7946 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3139, allocations: 0.6923 MB / 0.7953 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.216e-05/0.3139, allocations: 11.98 kB / 0.7953 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.314, allocations: 23.42 kB / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.314, allocations: 0 / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.3303, allocations: 2.22 MB / 0.7975 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.3305, allocations: 191.1 kB / 0.7977 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.121, allocations: 0 / 0.7977 GB, free: 0.8633 MB / 0.6075 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) Environment - environmentSimulation: