Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001722/0.001722, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9838/0.9853, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00214/0.9875, allocations: 0.7722 MB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.9894, allocations: 1.343 MB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.9895, allocations: 1.406 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/0.9896, allocations: 19.44 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.9897, allocations: 11.19 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/0.9907, allocations: 319.9 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.9912, allocations: 378.8 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.9913, allocations: 51.17 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.9916, allocations: 155.5 kB / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.9918, allocations: 143.2 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.9919, allocations: 36.34 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.9921, allocations: 45.77 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.9922, allocations: 76.3 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.9923, allocations: 137.8 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.9929, allocations: 337.9 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.9929, allocations: 0.8125 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9929, allocations: 0 / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.9929, allocations: 0 / 1.092 GB, free: 3.328 MB / 0.8575 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.0007743/0.9937, allocations: 0.5549 MB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.9937, allocations: 9.797 kB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.9938, allocations: 23.28 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.9944, allocations: 264.3 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.9945, allocations: 19.81 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.9945, allocations: 33.48 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.995, allocations: 216.7 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.9951, allocations: 3.938 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.9951, allocations: 15.72 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.9951, allocations: 2.188 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.9953, allocations: 97.27 kB / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.9962, allocations: 0.5649 MB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.9967, allocations: 252.5 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.9969, allocations: 114.5 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.997, allocations: 2.281 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.998, allocations: 0.5586 MB / 1.095 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.074e-06/0.998, allocations: 0 / 1.095 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.001192/0.9992, allocations: 0.5614 MB / 1.096 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.9993, allocations: 57.67 kB / 1.096 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.9994, allocations: 160.4 kB / 1.096 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.006e-05/0.9995, allocations: 58.58 kB / 1.096 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.9996, allocations: 109.8 kB / 1.096 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/0.9996, allocations: 107.4 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.9999, allocations: 127.4 kB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/1, allocations: 335.9 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/1, allocations: 181 kB / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/1.001, allocations: 299.4 kB / 1.097 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/1.001, allocations: 370.7 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.001, allocations: 0.6875 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001042/1.002, allocations: 0.5707 MB / 1.098 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.309e-05/1.002, allocations: 64.25 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.002, allocations: 3.406 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/1.003, allocations: 5.156 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/1.003, allocations: 31.7 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/1.003, allocations: 9.984 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/1.003, allocations: 82.22 kB / 1.098 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/1.003, allocations: 27.48 kB / 1.098 GB, free: 15.82 MB / 0.8731 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.0002127/1.003, allocations: 172.9 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/1.003, allocations: 31.98 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/1.004, allocations: 37.22 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.004, allocations: 2.25 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.004, allocations: 5 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/1.004, allocations: 96.12 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/1.004, allocations: 26.11 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/1.004, allocations: 10.92 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.004, allocations: 74.44 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008723/1.005, allocations: 0.5118 MB / 1.099 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008402/1.006, allocations: 0.6244 MB / 1.1 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003512/1.006, allocations: 235.5 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.418e-05/1.006, allocations: 98.02 kB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of Backend: time 8.42e-07/1.006, allocations: 0 / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.007, allocations: 0.5363 MB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009085/1.008, allocations: 0.7522 MB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of Templates: time 0.01057/1.019, allocations: 4.724 MB / 1.106 GB, free: 13.34 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Toggle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches