Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.418/1.418, allocations: 287.4 MB / 302.6 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009501/0.0009501, allocations: 184.5 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006751/0.000675, allocations: 97.45 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 14.02 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 115.3 MB / 0.9788 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0006371/0.1527, allocations: 434.5 kB / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006847/0.1534, allocations: 0.8244 MB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.1535, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.1535, allocations: 3.938 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.1536, allocations: 3.938 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.1537, allocations: 23.97 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.1538, allocations: 39.86 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.1539, allocations: 15.98 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.1539, allocations: 15.92 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.1539, allocations: 15.92 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.154, allocations: 0 / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.154, allocations: 4 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.154, allocations: 4 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.154, allocations: 33.64 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.747e-05/0.1541, allocations: 31.91 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1541, allocations: 0 / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1541, allocations: 0 / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.1541, allocations: 4 kB / 0.9802 GB, free: 26.6 MB / 0.6198 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.0004408/0.1545, allocations: 387.7 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1546, allocations: 8.031 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.218e-05/0.1546, allocations: 34.69 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.935e-05/0.1546, allocations: 8.844 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.572e-05/0.1547, allocations: 172.3 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.1547, allocations: 384 / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1547, allocations: 4.375 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1549, allocations: 70.22 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1549, allocations: 3.938 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1549, allocations: 0 / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1549, allocations: 4 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.1551, allocations: 59.89 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.1555, allocations: 300.7 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1557, allocations: 62.55 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.1558, allocations: 29 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1558, allocations: 0 / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.1558, allocations: 38.5 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1558, allocations: 0 / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003004/0.1561, allocations: 113.5 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.885e-05/0.1562, allocations: 55.41 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.013e-05/0.1562, allocations: 113.8 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.1562, allocations: 29.64 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.1562, allocations: 88.14 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.1563, allocations: 7.891 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.1563, allocations: 0 / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.405e-05/0.1563, allocations: 318.8 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.1564, allocations: 35.92 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.1565, allocations: 28.34 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1566, allocations: 49.11 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1566, allocations: 0 / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001768/0.1568, allocations: 89.64 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1568, allocations: 7.938 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1568, allocations: 0 / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1569, allocations: 11.98 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.767e-05/0.1569, allocations: 8 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1569, allocations: 0 / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-05/0.157, allocations: 35.75 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.157, allocations: 4 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.506e-05/0.1571, allocations: 117.8 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.1571, allocations: 4 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.1573, allocations: 89.55 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1573, allocations: 4 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1573, allocations: 8 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1573, allocations: 0 / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1575, allocations: 169.6 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1575, allocations: 3.984 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.1575, allocations: 8 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1575, allocations: 0 / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1575, allocations: 0 / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1575, allocations: 3.938 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1575, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1577, allocations: 191.3 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.1578, allocations: 77.11 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1578, allocations: 0 / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1579, allocations: 23.97 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.158, allocations: 11.98 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.158, allocations: 4 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.43e-05/0.158, allocations: 87.22 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.158, allocations: 0 / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001803/0.1582, allocations: 8 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0003288/0.1585, allocations: 0.724 MB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1587, allocations: 59.95 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1587, allocations: 288 / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.1588, allocations: 31.92 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.1591, allocations: 15.92 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.1597, allocations: 481.4 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.062e-05/0.1598, allocations: 0.6809 MB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.042e-05/0.1599, allocations: 4 kB / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1599, allocations: 19.42 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.1599, allocations: 0 / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2761/0.436, allocations: 1.424 MB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/0.4362, allocations: 210.8 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/1.994, allocations: 0 / 0.9866 GB, free: 19.72 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)