Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.0008194/0.0008194, allocations: 97.64 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.004847/0.004847, allocations: 170.1 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.159/1.159, 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.55/1.55, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004747/0.0004748, allocations: 15.62 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1746, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0007009/0.1753, allocations: 426.3 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1766, allocations: 1.154 MB / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.1766, allocations: 8 kB / 0.7896 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.1766, allocations: 0 / 0.7896 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.1767, allocations: 3.938 kB / 0.7896 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.1771, allocations: 130.6 kB / 0.7897 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.1773, allocations: 123.8 kB / 0.7898 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.247e-05/0.1773, allocations: 15.97 kB / 0.7898 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.1774, allocations: 51.84 kB / 0.7899 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.1775, allocations: 51.8 kB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1775, allocations: 8 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.578e-05/0.1776, allocations: 19.98 kB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.1776, allocations: 11.98 kB / 0.79 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.752e-05/0.1777, allocations: 81.52 kB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.1778, allocations: 115.9 kB / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1779, allocations: 0 / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1779, allocations: 0 / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.1779, allocations: 0 / 0.7901 GB, free: 9.293 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000439/0.1783, allocations: 397.1 kB / 0.7905 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1784, allocations: 12.03 kB / 0.7905 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.1784, allocations: 42.73 kB / 0.7906 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1785, allocations: 12.84 kB / 0.7906 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.1788, allocations: 212.4 kB / 0.7908 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1788, allocations: 16.31 kB / 0.7908 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.1789, allocations: 12.38 kB / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.179, allocations: 85.94 kB / 0.7909 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.179, allocations: 0 / 0.7909 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.179, allocations: 0 / 0.7909 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1791, allocations: 7.984 kB / 0.7909 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.1791, allocations: 47.84 kB / 0.7909 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.1796, allocations: 368.5 kB / 0.7913 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1798, allocations: 86.55 kB / 0.7914 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.1799, allocations: 44.84 kB / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.1799, allocations: 0 / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.1801, allocations: 143.2 kB / 0.7916 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.1801, allocations: 0 / 0.7916 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0003571/0.1805, allocations: 196.9 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1805, allocations: 55.41 kB / 0.7918 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.1806, allocations: 113.8 kB / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.1806, allocations: 37.64 kB / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.1807, allocations: 92.12 kB / 0.792 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.1807, allocations: 31.77 kB / 0.7921 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.1808, allocations: 25.7 kB / 0.7921 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1809, allocations: 326.8 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.181, allocations: 47.97 kB / 0.7924 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1811, allocations: 84.27 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1813, allocations: 137.9 kB / 0.7927 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1813, allocations: 0 / 0.7927 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003046/0.1816, allocations: 207.1 kB / 0.7929 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.1816, allocations: 37.69 kB / 0.7929 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1816, allocations: 4.125 kB / 0.7929 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.1817, allocations: 7.938 kB / 0.7929 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.1817, allocations: 8 kB / 0.7929 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1817, allocations: 7.938 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.1819, allocations: 47.89 kB / 0.793 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.182, allocations: 12 kB / 0.793 GB, free: 6.098 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: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.691e-05/0.182, allocations: 122.4 kB / 0.7931 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.1821, allocations: 15.89 kB / 0.7931 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.1821, allocations: 8.5 kB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1821, allocations: 0 / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1821, allocations: 4 kB / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1821, allocations: 0 / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.1825, allocations: 442.4 kB / 0.7935 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1825, allocations: 0 / 0.7935 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.1825, allocations: 4 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1826, allocations: 3.984 kB / 0.7935 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1826, allocations: 0 / 0.7935 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1826, allocations: 4 kB / 0.7936 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1826, allocations: 0 / 0.7936 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1828, allocations: 270.9 kB / 0.7938 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.1829, allocations: 88.94 kB / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1829, allocations: 15.92 kB / 0.7939 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.183, allocations: 7.984 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.183, allocations: 19.92 kB / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.183, allocations: 7.984 kB / 0.7939 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.1831, allocations: 87.28 kB / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1831, allocations: 0 / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002527/0.1833, allocations: 35.98 kB / 0.7941 GB, free: 4.887 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004928/0.1838, allocations: 0.8045 MB / 0.7948 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.1841, allocations: 195.3 kB / 0.795 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1841, allocations: 0 / 0.795 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.1842, allocations: 68.17 kB / 0.7951 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.1845, allocations: 20.25 kB / 0.7951 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.186, allocations: 1.714 MB / 0.7968 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.1862, allocations: 0.6884 MB / 0.7975 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.1862, allocations: 16.55 kB / 0.7975 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.1863, allocations: 23.42 kB / 0.7975 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1863, allocations: 0 / 0.7975 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.39/1.576, allocations: 2.439 MB / 0.7999 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/1.576, allocations: 235.2 kB / 0.8001 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/3.334, allocations: 3.938 kB / 0.8001 GB, free: 14.66 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)