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.302/1.302, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0009333/0.0009332, allocations: 176.7 kB / 325.8 MB, free: 2.719 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.39/1.39, allocations: 205 MB / 0.576 GB, free: 20.96 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.0006581/0.0006581, allocations: 96.02 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.000322, allocations: 13.53 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1742, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001385/0.1756, allocations: 1.202 MB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.176, allocations: 214 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.1761, allocations: 4 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.1761, allocations: 11.92 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.4e-05/0.1762, allocations: 3.938 kB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.1763, allocations: 23.97 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.723e-05/0.1764, allocations: 59.78 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.1765, allocations: 16.22 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.1766, allocations: 23.86 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.1766, allocations: 15.92 kB / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1766, allocations: 4 kB / 0.8978 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.1766, allocations: 4 kB / 0.8978 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.1767, allocations: 19.91 kB / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.1767, allocations: 19.86 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.582e-05/0.1768, allocations: 47.84 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1768, allocations: 0 / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.385e-06/0.1768, allocations: 0 / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1768, allocations: 3.938 kB / 0.8978 GB, free: 66.4 MB / 0.6042 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.0004407/0.1773, allocations: 375.4 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1773, allocations: 8.031 kB / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.1774, allocations: 34.73 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.1774, allocations: 8.844 kB / 0.8983 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1775, allocations: 180.2 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1775, allocations: 4.375 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1776, allocations: 4.312 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1777, allocations: 74.22 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1778, allocations: 7.875 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1778, allocations: 4 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1778, allocations: 0 / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.178, allocations: 59.95 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.1784, allocations: 300.8 kB / 0.8989 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.1788, allocations: 130.5 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.1789, allocations: 32.97 kB / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1789, allocations: 0 / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.1791, allocations: 87.38 kB / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1791, allocations: 4 kB / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003584/0.1795, allocations: 141.5 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.1795, allocations: 59.41 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.499e-05/0.1796, allocations: 117.8 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.1796, allocations: 33.7 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.1796, allocations: 88.05 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.1796, allocations: 15.81 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.1797, allocations: 17.7 kB / 0.8996 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.826e-05/0.1797, allocations: 318.8 kB / 0.8999 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.1798, allocations: 39.97 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.1799, allocations: 63.34 kB / 0.9 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1801, allocations: 91.39 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1801, allocations: 0 / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002231/0.1803, allocations: 121.5 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1803, allocations: 4 kB / 0.9002 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1803, allocations: 4 kB / 0.9002 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1804, allocations: 3.938 kB / 0.9002 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.1804, allocations: 16.55 kB / 0.9002 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1804, allocations: 96 / 0.9002 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.1805, allocations: 31.83 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1805, allocations: 4 kB / 0.9002 GB, free: 63.7 MB / 0.6042 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,change.y,change.u,$PRE.change.u,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.1806, allocations: 125.7 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.1806, allocations: 4.062 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.1807, allocations: 16.31 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1807, allocations: 0 / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1807, allocations: 8 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1807, allocations: 0 / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.181, allocations: 378.3 kB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1811, allocations: 0 / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.1811, allocations: 15.98 kB / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1811, allocations: 0 / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.1811, allocations: 0 / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1811, allocations: 0 / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1812, allocations: 3.938 kB / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1814, allocations: 207.5 kB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.1814, allocations: 81.02 kB / 0.901 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1814, allocations: 0 / 0.901 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1815, allocations: 19.97 kB / 0.901 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1816, allocations: 15.92 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1816, allocations: 4 kB / 0.9011 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.1816, allocations: 95.22 kB / 0.9012 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1816, allocations: 0 / 0.9012 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002058/0.1818, allocations: 8 kB / 0.9012 GB, free: 62.64 MB / 0.6042 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 (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.0003877/0.1822, allocations: 0.7491 MB / 0.9019 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1825, allocations: 83.89 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1825, allocations: 0 / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/0.1826, allocations: 43.98 kB / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1828, allocations: 18.33 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.184, allocations: 1.499 MB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.1842, allocations: 0.6926 MB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.1842, allocations: 7.859 kB / 0.9042 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.1842, allocations: 23.42 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.1842, allocations: 0 / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.2087, allocations: 1.651 MB / 0.9058 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.2089, allocations: 210.4 kB / 0.906 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.919, allocations: 2.531 kB / 0.906 GB, free: 57.62 MB / 0.6042 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)