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.001007/0.001007, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006785/0.006785, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.667/1.667, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004948/0.0004948, allocations: 13.78 kB / 0.6744 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1968, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0008158/0.1976, allocations: 0.4979 MB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1989, allocations: 1.138 MB / 0.7896 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.1989, allocations: 0 / 0.7896 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.199, allocations: 3.938 kB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.199, allocations: 15.91 kB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.1995, allocations: 123 kB / 0.7897 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.1996, allocations: 103.8 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.1997, allocations: 15.98 kB / 0.7899 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.1997, allocations: 43.89 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.1998, allocations: 39.83 kB / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1999, allocations: 8 kB / 0.7899 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-05/0.1999, allocations: 12 kB / 0.79 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.1999, allocations: 15.92 kB / 0.79 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.2, allocations: 65.53 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.2002, allocations: 104 kB / 0.7901 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2002, allocations: 0 / 0.7901 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2002, allocations: 0 / 0.7901 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.2002, allocations: 0 / 0.7901 GB, free: 9.273 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.0004833/0.2007, allocations: 405 kB / 0.7905 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2007, allocations: 8.031 kB / 0.7905 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.2007, allocations: 38.73 kB / 0.7906 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.2008, allocations: 4.938 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.34e-05/0.2009, allocations: 168.3 kB / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2009, allocations: 4.375 kB / 0.7907 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.2009, allocations: 12.31 kB / 0.7907 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2011, allocations: 74.22 kB / 0.7908 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2012, allocations: 3.938 kB / 0.7908 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2012, allocations: 3.984 kB / 0.7908 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2012, allocations: 4 kB / 0.7908 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.2014, allocations: 55.88 kB / 0.7909 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.2018, allocations: 340.6 kB / 0.7912 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.202, allocations: 66.55 kB / 0.7913 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.2021, allocations: 36.97 kB / 0.7913 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.2022, allocations: 0 / 0.7913 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.2024, allocations: 99.36 kB / 0.7914 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.2024, allocations: 0 / 0.7914 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004471/0.2028, allocations: 161.5 kB / 0.7916 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2029, allocations: 55.41 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.203, allocations: 117.8 kB / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.203, allocations: 33.7 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.2031, allocations: 96.06 kB / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2031, allocations: 11.81 kB / 0.7919 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.2031, allocations: 21.72 kB / 0.7919 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.2032, allocations: 318.8 kB / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2034, allocations: 63.95 kB / 0.7922 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.2036, allocations: 92.25 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.2039, allocations: 149.9 kB / 0.7925 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2039, allocations: 0 / 0.7925 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004343/0.2043, allocations: 223.1 kB / 0.7927 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.2044, allocations: 37.7 kB / 0.7927 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2044, allocations: 0 / 0.7927 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2044, allocations: 0 / 0.7927 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.2045, allocations: 20.11 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2045, allocations: 3.938 kB / 0.7927 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.2048, allocations: 55.8 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.2048, allocations: 16.25 kB / 0.7928 GB, free: 6.238 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.485e-05/0.2049, allocations: 125.8 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.2049, allocations: 7.906 kB / 0.7929 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.2049, allocations: 8.375 kB / 0.7929 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2049, allocations: 0 / 0.7929 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2049, allocations: 64 / 0.7929 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.205, allocations: 8 kB / 0.793 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.2054, allocations: 386.4 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2054, allocations: 0 / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.2055, allocations: 11.98 kB / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2055, allocations: 4 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2055, allocations: 8 kB / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2055, allocations: 0 / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2055, allocations: 0 / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.2058, allocations: 227.3 kB / 0.7936 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.2058, allocations: 77.11 kB / 0.7936 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.2059, allocations: 8 kB / 0.7936 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.206, allocations: 7.984 kB / 0.7936 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.206, allocations: 11.92 kB / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.206, allocations: 4 kB / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.2061, allocations: 91.27 kB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2061, allocations: 0 / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002546/0.2063, allocations: 27.91 kB / 0.7938 GB, free: 5.145 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005907/0.2069, allocations: 0.7549 MB / 0.7945 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.2073, allocations: 187.3 kB / 0.7947 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2073, allocations: 3.938 kB / 0.7947 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.2075, allocations: 52.16 kB / 0.7947 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.2077, allocations: 11.92 kB / 0.7948 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.2096, allocations: 1.729 MB / 0.7964 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.2098, allocations: 0.6962 MB / 0.7971 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.2098, allocations: 4 kB / 0.7971 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.2099, allocations: 19.42 kB / 0.7971 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2099, allocations: 0 / 0.7971 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01087/0.2208, allocations: 2.239 MB / 0.7993 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.221, allocations: 205.1 kB / 0.7995 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/1.861, allocations: 0 / 0.7995 GB, free: 15.16 MB / 0.6231 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/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)