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.001019/0.001019, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001094/0.001094, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.348/1.348, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.523/1.523, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001246/0.001246, allocations: 74 kB / 0.6711 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1562, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001597/0.1578, allocations: 0.8368 MB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1589, allocations: 1.142 MB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.159, allocations: 0 / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.159, allocations: 4 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.159, allocations: 7.922 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1594, allocations: 122.9 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.1596, allocations: 119.8 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.391e-05/0.1596, allocations: 15.98 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.1597, allocations: 51.83 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.1598, allocations: 43.83 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1598, allocations: 8 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.271e-05/0.1599, allocations: 16 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.1599, allocations: 23.92 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.1599, allocations: 43.83 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1601, allocations: 104 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1601, allocations: 0 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.103e-06/0.1601, allocations: 4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.1601, allocations: 0 / 0.7855 GB, free: 11.25 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.0004541/0.1606, allocations: 416.9 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1606, allocations: 12.02 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.1606, allocations: 30.75 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.1607, allocations: 16.84 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.206e-05/0.1608, allocations: 168.3 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1608, allocations: 8.375 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1608, allocations: 8.312 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.161, allocations: 74.14 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.161, allocations: 7.875 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.161, allocations: 0 / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.161, allocations: 0 / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1612, allocations: 51.94 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.1616, allocations: 332.7 kB / 0.7865 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1617, allocations: 58.55 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.1618, allocations: 36.97 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.1618, allocations: 0 / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.162, allocations: 83.36 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.162, allocations: 0 / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003655/0.1624, allocations: 153.5 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.1624, allocations: 51.41 kB / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.1625, allocations: 113.8 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1625, allocations: 33.7 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.1626, allocations: 96.03 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.1626, allocations: 15.81 kB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.1627, allocations: 37.7 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.1628, allocations: 326.8 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1629, allocations: 47.97 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1631, allocations: 84.25 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.1633, allocations: 149.8 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1633, allocations: 0 / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000382/0.1637, allocations: 207.3 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.1637, allocations: 37.7 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1637, allocations: 4 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1638, allocations: 0 / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.1638, allocations: 19.86 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1638, allocations: 4 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.1641, allocations: 39.89 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1641, allocations: 4 kB / 0.7881 GB, free: 8.281 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 7.847e-05/0.1642, allocations: 130.4 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.1642, allocations: 7.906 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.1642, allocations: 8.375 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1642, allocations: 3.984 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1642, allocations: 4 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1642, allocations: 0 / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.1646, allocations: 386.5 kB / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1646, allocations: 0 / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.1647, allocations: 7.984 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1647, allocations: 4 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1647, allocations: 3.938 kB / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1647, allocations: 0 / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1647, allocations: 0 / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.165, allocations: 211.7 kB / 0.7888 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.165, allocations: 89.02 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.165, allocations: 0 / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.1651, allocations: 7.984 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1652, allocations: 11.92 kB / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1652, allocations: 8 kB / 0.7889 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.1652, allocations: 91.27 kB / 0.789 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 0 / 0.789 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002347/0.1655, allocations: 24 kB / 0.789 GB, free: 7.203 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.0004794/0.1659, allocations: 0.7436 MB / 0.7897 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.1663, allocations: 183.2 kB / 0.7899 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1663, allocations: 0 / 0.7899 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1664, allocations: 43.91 kB / 0.79 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1666, allocations: 16.8 kB / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.1683, allocations: 1.697 MB / 0.7916 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.1685, allocations: 0.6885 MB / 0.7923 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.1685, allocations: 7.984 kB / 0.7923 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.1686, allocations: 19.44 kB / 0.7923 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1686, allocations: 0 / 0.7923 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8017/0.9703, allocations: 2.395 MB / 0.7947 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.9705, allocations: 210.6 kB / 0.7949 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.662, allocations: 0 / 0.7949 GB, free: 1.102 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/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)