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.0009718/0.0009719, 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.001032/0.001032, allocations: 193.4 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.414/1.414, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.598/1.598, allocations: 292.3 MB / 0.5486 GB, free: 13.66 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.001771/0.001771, allocations: 71.72 kB / 0.6711 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2181, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001756/0.2199, allocations: 0.7474 MB / 0.7837 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2212, allocations: 1.153 MB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.2212, allocations: 0 / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.2213, allocations: 3.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.2213, allocations: 7.922 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.2218, allocations: 139.2 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.2219, allocations: 139.8 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.574e-05/0.222, allocations: 19.98 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/0.2221, allocations: 55.89 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.2222, allocations: 47.81 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.2222, allocations: 16 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.305e-05/0.2223, allocations: 23.98 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.2223, allocations: 19.98 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.2224, allocations: 59.81 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.2225, allocations: 123.9 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2225, allocations: 0 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2225, allocations: 0 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2226, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005265/0.2231, allocations: 428.9 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2231, allocations: 8.031 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.2232, allocations: 38.75 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.2232, allocations: 12.92 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.2236, allocations: 208.4 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.2236, allocations: 4.375 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.2237, allocations: 20.36 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2238, allocations: 85.89 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2238, allocations: 0 / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2239, allocations: 7.984 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2239, allocations: 0 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.188e-05/0.2239, allocations: 43.91 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.2245, allocations: 360.6 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.2246, allocations: 94.56 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/0.2247, allocations: 44.84 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.2247, allocations: 0 / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.2249, allocations: 139.2 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.225, allocations: 0 / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0003545/0.2253, allocations: 201.5 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.2254, allocations: 59.39 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.2254, allocations: 109.8 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.2255, allocations: 33.7 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.2255, allocations: 84.14 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.2256, allocations: 35.75 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.2256, allocations: 45.7 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2258, allocations: 326.8 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.69e-05/0.2259, allocations: 47.97 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.226, allocations: 84.27 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.2261, allocations: 133.9 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2262, allocations: 4 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002904/0.2265, allocations: 210.1 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.2265, allocations: 37.69 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2265, allocations: 7.938 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2265, allocations: 0 / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.2266, allocations: 11.94 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.2266, allocations: 8.125 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.2268, allocations: 43.8 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.2268, allocations: 8 kB / 0.7883 GB, free: 8.035 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 9.88e-05/0.2269, allocations: 137.7 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.2269, allocations: 4 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.227, allocations: 8.5 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.227, allocations: 8 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.227, allocations: 0 / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.227, allocations: 0 / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.2274, allocations: 434.4 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2274, allocations: 0 / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.2274, allocations: 11.92 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2274, allocations: 0 / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2274, allocations: 8 kB / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2274, allocations: 0 / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2274, allocations: 4 kB / 0.7889 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.2277, allocations: 255.4 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.2277, allocations: 88.95 kB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.2278, allocations: 3.938 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.2279, allocations: 11.98 kB / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.2279, allocations: 15.92 kB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2279, allocations: 11.98 kB / 0.7893 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.228, allocations: 87.58 kB / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.228, allocations: 0 / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002524/0.2282, allocations: 35.98 kB / 0.7894 GB, free: 6.832 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.0005239/0.2288, allocations: 0.805 MB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.2291, allocations: 203.2 kB / 0.7904 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2291, allocations: 0 / 0.7904 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2292, allocations: 71.97 kB / 0.7905 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.2295, allocations: 15.92 kB / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.231, allocations: 1.716 MB / 0.7921 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.2312, allocations: 0.6924 MB / 0.7928 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.174e-05/0.2313, allocations: 12.55 kB / 0.7928 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.2313, allocations: 19.44 kB / 0.7929 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2314, allocations: 4 kB / 0.7929 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.072/2.303, allocations: 2.616 MB / 0.7954 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/2.303, allocations: 223.9 kB / 0.7956 GB, free: 444 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/4.326, allocations: 0 / 0.7956 GB, free: 444 kB / 0.6075 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)