Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001382/0.001383, allocations: 112.3 kB / 16.42 MB, free: 6.5 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.001537/0.001537, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.578/1.578, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214/1.215, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002612/1.218, allocations: 0.7633 MB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002492/1.22, allocations: 1.342 MB / 1.211 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/1.221, allocations: 4 kB / 1.211 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.975e-05/1.221, allocations: 15.8 kB / 1.211 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/1.221, allocations: 11.86 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/1.222, allocations: 314.5 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005837/1.222, allocations: 387.4 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/1.223, allocations: 53.05 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/1.223, allocations: 159.7 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/1.223, allocations: 139.6 kB / 1.212 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.875e-05/1.223, allocations: 36 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/1.224, allocations: 47.98 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/1.224, allocations: 75.83 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/1.224, allocations: 131.6 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005076/1.224, allocations: 339 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.224, allocations: 0 / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/1.224, allocations: 0 / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.003e-05/1.224, allocations: 0 / 1.212 GB, free: 9.883 MB / 0.9356 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.00108/1.226, allocations: 0.5431 MB / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/1.226, allocations: 12.03 kB / 1.213 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/1.226, allocations: 32.81 kB / 1.213 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006724/1.226, allocations: 264.2 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/1.227, allocations: 20.36 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/1.227, allocations: 28.38 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/1.227, allocations: 225.9 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.227, allocations: 3.938 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/1.227, allocations: 19.97 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/1.227, allocations: 0 / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/1.227, allocations: 99.88 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/1.228, allocations: 0.5586 MB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/1.229, allocations: 254.5 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/1.229, allocations: 116.8 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/1.229, allocations: 0 / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008015/1.23, allocations: 0.5496 MB / 1.215 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.345e-06/1.23, allocations: 3.938 kB / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.001009/1.231, allocations: 0.5596 MB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.231, allocations: 59.39 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/1.231, allocations: 149.7 kB / 1.216 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.812e-05/1.231, allocations: 65.69 kB / 1.216 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.231, allocations: 108.9 kB / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/1.231, allocations: 110.8 kB / 1.216 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/1.232, allocations: 122.2 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.232, allocations: 334.8 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/1.232, allocations: 185.1 kB / 1.216 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/1.232, allocations: 293.8 kB / 1.217 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/1.233, allocations: 373.1 kB / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.233, allocations: 0 / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008936/1.234, allocations: 0.5643 MB / 1.218 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/1.234, allocations: 61.28 kB / 1.218 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.234, allocations: 11.92 kB / 1.218 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/1.234, allocations: 8.375 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/1.234, allocations: 31.86 kB / 1.218 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/1.234, allocations: 11.94 kB / 1.218 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/1.234, allocations: 79.53 kB / 1.218 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/1.234, allocations: 28 kB / 1.218 GB, free: 3.703 MB / 0.9356 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.0001984/1.235, allocations: 179.8 kB / 1.218 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/1.235, allocations: 27.8 kB / 1.218 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/1.235, allocations: 34.31 kB / 1.218 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.235, allocations: 3.984 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.235, allocations: 3.938 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/1.235, allocations: 100.8 kB / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/1.235, allocations: 31.98 kB / 1.218 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/1.235, allocations: 7.984 kB / 1.218 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.235, allocations: 75.84 kB / 1.218 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006973/1.236, allocations: 0.5176 MB / 1.219 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007137/1.237, allocations: 0.6158 MB / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002732/1.237, allocations: 231.8 kB / 1.22 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.428e-05/1.237, allocations: 99.27 kB / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of Backend: time 7.82e-07/1.237, allocations: 0 / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001123/1.238, allocations: 0.5371 MB / 1.22 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001028/1.239, allocations: 0.7624 MB / 1.221 GB, free: 380 kB / 0.9356 GB Notification: Performance of Templates: time 0.01101/1.25, allocations: 4.897 MB / 1.226 GB, free: 11.51 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Toggle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches