Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002317/0.002317, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00554/0.00554, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.642/1.642, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.281/3.281, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.105e-05, allocations: 2.281 kB / 1.001 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001954/0.001986, allocations: 0.7547 MB / 1.002 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.004014, allocations: 1.357 MB / 1.003 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.00408, allocations: 4 kB / 1.003 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.004125, allocations: 19.73 kB / 1.003 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.004201, allocations: 19.81 kB / 1.003 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007855/0.004987, allocations: 315 kB / 1.004 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.00542, allocations: 367.5 kB / 1.004 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.005572, allocations: 49 kB / 1.004 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.005861, allocations: 223.7 kB / 1.004 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.006078, allocations: 115.7 kB / 1.004 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.006152, allocations: 36 kB / 1.004 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.006264, allocations: 47.98 kB / 1.004 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.006351, allocations: 71.83 kB / 1.004 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.006508, allocations: 111.8 kB / 1.005 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005649/0.007073, allocations: 411 kB / 1.005 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.007077, allocations: 0 / 1.005 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.112e-06/0.007078, allocations: 4 kB / 1.005 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.007082, allocations: 0 / 1.005 GB, free: 7.992 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000814/0.007896, allocations: 477.1 kB / 1.005 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.007936, allocations: 17.34 kB / 1.005 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.215e-05/0.008028, allocations: 24.84 kB / 1.005 GB, free: 7.441 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/0.008618, allocations: 197.7 kB / 1.006 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.008662, allocations: 24.36 kB / 1.006 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.649e-05/0.008728, allocations: 32.36 kB / 1.006 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.009129, allocations: 226.8 kB / 1.006 GB, free: 6.941 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.009139, allocations: 192 / 1.006 GB, free: 6.941 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.009173, allocations: 12.36 kB / 1.006 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.009182, allocations: 12.12 kB / 1.006 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.009381, allocations: 87.94 kB / 1.006 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.01022, allocations: 459.8 kB / 1.006 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.01068, allocations: 198.6 kB / 1.007 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.01086, allocations: 84.81 kB / 1.007 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.01087, allocations: 0 / 1.007 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008642/0.01174, allocations: 0.5515 MB / 1.007 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=44): time 1.463e-06/0.01174, allocations: 0 / 1.007 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=44): time 0.001082/0.01282, allocations: 0.5764 MB / 1.008 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.01289, allocations: 63.41 kB / 1.008 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.01307, allocations: 152.2 kB / 1.008 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.408e-05/0.01316, allocations: 57.69 kB / 1.008 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01328, allocations: 124.9 kB / 1.008 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.01338, allocations: 107.3 kB / 1.008 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.0136, allocations: 126.3 kB / 1.008 GB, free: 4.262 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.01379, allocations: 338.8 kB / 1.009 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.01423, allocations: 252.6 kB / 1.009 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.0148, allocations: 349.5 kB / 1.009 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.01542, allocations: 368.2 kB / 1.01 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.01542, allocations: 0 / 1.01 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001244/0.01666, allocations: 0.6329 MB / 1.01 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.01675, allocations: 75.33 kB / 1.01 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.01677, allocations: 4 kB / 1.01 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.01679, allocations: 4 kB / 1.01 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.01688, allocations: 27.86 kB / 1.01 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.0169, allocations: 7.938 kB / 1.01 GB, free: 2.062 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.01733, allocations: 79.84 kB / 1.01 GB, free: 1.984 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/0.0174, allocations: 28 kB / 1.01 GB, free: 1.957 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0003386/0.01774, allocations: 179.7 kB / 1.011 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.01782, allocations: 31.84 kB / 1.011 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.01793, allocations: 38.31 kB / 1.011 GB, free: 1.707 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.01793, allocations: 4 kB / 1.011 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.01794, allocations: 0 / 1.011 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.01795, allocations: 7.984 kB / 1.011 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.01928, allocations: 0.7646 MB / 1.011 GB, free: 0.8906 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01929, allocations: 0 / 1.011 GB, free: 0.8906 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.01934, allocations: 15.94 kB / 1.011 GB, free: 0.875 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.01934, allocations: 0 / 1.011 GB, free: 0.875 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.01939, allocations: 23.97 kB / 1.011 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01939, allocations: 0 / 1.011 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.01939, allocations: 3.938 kB / 1.011 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.0202, allocations: 0.5365 MB / 1.012 GB, free: 304 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.02023, allocations: 19.8 kB / 1.012 GB, free: 284 kB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.02031, allocations: 31.98 kB / 1.012 GB, free: 252 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.02041, allocations: 12 kB / 1.012 GB, free: 240 kB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.02059, allocations: 71.81 kB / 1.012 GB, free: 168 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.02064, allocations: 35.97 kB / 1.012 GB, free: 132 kB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.825e-05/0.02073, allocations: 105.9 kB / 1.012 GB, free: 28 kB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.02073, allocations: 0 / 1.012 GB, free: 28 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000403/0.02113, allocations: 95.98 kB / 1.012 GB, free: 15.93 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (swiCleInp1.clr,swiCleInp.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCleTruIni.u,falCleTruIni.y,falCleFalIni.u,falCleFalIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.y,togInp.y) * Number of discrete states: 12 (falCleFalIni.u,falCleFalIni.y,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002626/0.0214, allocations: 145.2 kB / 1.013 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0009235/0.02232, allocations: 0.5791 MB / 1.013 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02232, allocations: 0 / 1.013 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.02277, allocations: 163.8 kB / 1.013 GB, free: 15 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.02315, allocations: 48.64 kB / 1.013 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/0.02401, allocations: 443.2 kB / 1.014 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.02414, allocations: 121.4 kB / 1.014 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.02427, allocations: 34.97 kB / 1.014 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.02441, allocations: 56.45 kB / 1.014 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of SimCode: time 5.71e-07/0.02441, allocations: 0 / 1.014 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of Templates: time 0.01015/0.03456, allocations: 4.812 MB / 1.019 GB, free: 9.535 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.798111903481185]