Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.311/2.311, allocations: 251.1 MB / 266.7 MB, free: 11.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.001399, allocations: 181.3 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.458/2.458, allocations: 205.4 MB / 0.5772 GB, free: 21.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001397/0.001396, allocations: 90.62 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004784, allocations: 13.25 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2324, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001918/0.2344, allocations: 1.185 MB / 0.9007 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.2354, allocations: 365 kB / 0.901 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.2355, allocations: 4 kB / 0.901 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.2355, allocations: 11.92 kB / 0.901 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.2357, allocations: 15.86 kB / 0.901 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.236, allocations: 95.8 kB / 0.9011 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.2363, allocations: 219.6 kB / 0.9014 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2365, allocations: 49.22 kB / 0.9014 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.2366, allocations: 91.78 kB / 0.9015 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2367, allocations: 91.61 kB / 0.9016 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.2368, allocations: 12 kB / 0.9016 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.251e-05/0.2368, allocations: 12 kB / 0.9016 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.2369, allocations: 55.84 kB / 0.9016 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.237, allocations: 49.64 kB / 0.9017 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.2372, allocations: 179.5 kB / 0.9019 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.331e-06/0.2372, allocations: 3.938 kB / 0.9019 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2373, allocations: 0 / 0.9019 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2373, allocations: 4 kB / 0.9019 GB, free: 63.56 MB / 0.6042 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.0008824/0.2382, allocations: 456.9 kB / 0.9023 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2382, allocations: 8.031 kB / 0.9023 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.2383, allocations: 24.83 kB / 0.9023 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.2388, allocations: 256 kB / 0.9026 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.2389, allocations: 20.36 kB / 0.9026 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.2389, allocations: 28.36 kB / 0.9026 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.2395, allocations: 215.1 kB / 0.9028 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2395, allocations: 3.938 kB / 0.9028 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.2396, allocations: 15.97 kB / 0.9029 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2396, allocations: 4 kB / 0.9029 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.2399, allocations: 95.88 kB / 0.903 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.241, allocations: 0.5352 MB / 0.9035 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/0.242, allocations: 276 kB / 0.9037 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.2423, allocations: 108.8 kB / 0.9038 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2424, allocations: 0 / 0.9038 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009956/0.2434, allocations: 0.5351 MB / 0.9044 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 3.025e-06/0.2434, allocations: 0 / 0.9044 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.001297/0.2447, allocations: 0.5046 MB / 0.9049 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.2447, allocations: 55.41 kB / 0.9049 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2449, allocations: 170 kB / 0.9051 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.093e-05/0.245, allocations: 57.69 kB / 0.9051 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.2451, allocations: 112.9 kB / 0.9052 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.996e-05/0.2452, allocations: 102.9 kB / 0.9053 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.2452, allocations: 12 kB / 0.9053 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.2453, allocations: 334.8 kB / 0.9057 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.2457, allocations: 137.1 kB / 0.9058 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.2461, allocations: 243.5 kB / 0.906 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.2464, allocations: 102.1 kB / 0.9061 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2464, allocations: 4 kB / 0.9061 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000877/0.2473, allocations: 398.6 kB / 0.9065 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2474, allocations: 8.312 kB / 0.9065 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2474, allocations: 4 kB / 0.9065 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.2474, allocations: 11.94 kB / 0.9065 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.2476, allocations: 27.86 kB / 0.9066 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.2476, allocations: 7.938 kB / 0.9066 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.2479, allocations: 43.67 kB / 0.9066 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.248, allocations: 20 kB / 0.9066 GB, free: 58.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition26,$whenCondition25,tru.y,fal.y,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCle.u,falCle.u,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.y,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.togInp.pulseStart,togInp.pulseStart,iniTruOut.clr,iniFalOut.clr,falCle.clr,truCle.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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 0.0002371/0.2482, allocations: 175.6 kB / 0.9068 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.2483, allocations: 27.72 kB / 0.9068 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.2484, allocations: 38.3 kB / 0.9069 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.2484, allocations: 3.938 kB / 0.9069 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2485, allocations: 4 kB / 0.9069 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.2485, allocations: 92.86 kB / 0.907 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.2486, allocations: 27.98 kB / 0.907 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2489, allocations: 27.97 kB / 0.907 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/0.2492, allocations: 95.8 kB / 0.9071 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001058/0.2502, allocations: 0.4936 MB / 0.9076 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009261/0.2512, allocations: 0.572 MB / 0.9081 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004081/0.2516, allocations: 192.4 kB / 0.9083 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.613e-05/0.2517, allocations: 107.2 kB / 0.9084 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of Backend: time 7.62e-07/0.2517, allocations: 0 / 0.9084 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.2527, allocations: 349.5 kB / 0.9088 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009096/0.2537, allocations: 0.8031 MB / 0.9095 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.01063/0.2643, allocations: 3.653 MB / 0.9131 GB, free: 51.72 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)