Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.TrueDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onDelay0.u|onDelay0.y|onDelay1.y|onDelay2.y|onDelay3.y|onDelay4.y|onDelay5.y|onDelay6.y|onDelay7.y|onDelay00.u|onDelay00.y|onDelay11.y|onDelay22.y|onDelay33.y|onDelay44.y|onDelay55.y|onDelay66.y|onDelay77.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onDelay0.u|onDelay0.y|onDelay1.y|onDelay2.y|onDelay3.y|onDelay4.y|onDelay5.y|onDelay6.y|onDelay7.y|onDelay00.u|onDelay00.y|onDelay11.y|onDelay22.y|onDelay33.y|onDelay44.y|onDelay55.y|onDelay66.y|onDelay77.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002633/0.002633, allocations: 108.7 kB / 16.42 MB, free: 6.457 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.002924/0.002924, allocations: 185.5 kB / 17.34 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.558/1.558, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001639, allocations: 71.84 kB / 1.07 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212/1.213, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.003414/1.217, allocations: 1.18 MB / 1.228 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002955/1.22, allocations: 1.627 MB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/1.22, allocations: 7.938 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/1.221, allocations: 27.61 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002977/1.221, allocations: 55.44 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/1.222, allocations: 446 kB / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00116/1.224, allocations: 0.7529 MB / 1.23 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/1.224, allocations: 85.3 kB / 1.23 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006806/1.225, allocations: 315.3 kB / 1.231 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006424/1.225, allocations: 334.9 kB / 1.231 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000293/1.226, allocations: 76 kB / 1.231 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/1.226, allocations: 87.98 kB / 1.231 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/1.226, allocations: 163.6 kB / 1.231 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004912/1.227, allocations: 307 kB / 1.232 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009623/1.228, allocations: 0.6662 MB / 1.232 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.228, allocations: 0 / 1.232 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.695e-06/1.228, allocations: 4 kB / 1.232 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.428e-05/1.228, allocations: 0 / 1.232 GB, free: 7.359 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.002447/1.23, allocations: 0.8871 MB / 1.233 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.046e-05/1.23, allocations: 12.03 kB / 1.233 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/1.23, allocations: 72.69 kB / 1.233 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/1.231, allocations: 396.6 kB / 1.234 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.232, allocations: 48.77 kB / 1.234 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/1.232, allocations: 84.33 kB / 1.234 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/1.233, allocations: 457.8 kB / 1.234 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/1.233, allocations: 0 / 1.234 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/1.233, allocations: 23.95 kB / 1.234 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/1.233, allocations: 11.98 kB / 1.234 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/1.233, allocations: 225.2 kB / 1.234 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/1.235, allocations: 1.005 MB / 1.235 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/1.236, allocations: 0.6228 MB / 1.236 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/1.237, allocations: 305.5 kB / 1.236 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/1.237, allocations: 8 kB / 1.236 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/1.238, allocations: 0.7345 MB / 1.237 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=102): time 4.94e-06/1.238, allocations: 0 / 1.237 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of matching and sorting (n=102): time 0.00285/1.241, allocations: 1.508 MB / 1.239 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/1.241, allocations: 89.98 kB / 1.239 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/1.242, allocations: 270.4 kB / 1.239 GB, free: 408 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/1.242, allocations: 69.7 kB / 1.239 GB, free: 332 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/1.242, allocations: 146.2 kB / 1.239 GB, free: 180 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/1.242, allocations: 222.4 kB / 1.239 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/1.243, allocations: 230.9 kB / 1.24 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002242/1.243, allocations: 370.7 kB / 1.24 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/1.244, allocations: 234.4 kB / 1.24 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009995/1.245, allocations: 0.6775 MB / 1.241 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/1.246, allocations: 0.9799 MB / 1.242 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/1.246, allocations: 11.94 kB / 1.242 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002121/1.248, allocations: 1.027 MB / 1.243 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.248, allocations: 72.8 kB / 1.243 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.89e-05/1.248, allocations: 16 kB / 1.243 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-05/1.249, allocations: 28.03 kB / 1.243 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/1.249, allocations: 131.6 kB / 1.243 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.241e-05/1.249, allocations: 31.88 kB / 1.243 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/1.25, allocations: 143.4 kB / 1.243 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.25, allocations: 63.98 kB / 1.243 GB, free: 11.49 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$PRE.onDelay0.t_next,$whenCondition50,$PRE.onDelay1.t_next,$whenCondition47,$PRE.onDelay2.t_next,$whenCondition44,$PRE.onDelay4.t_next,$whenCondition41,$PRE.onDelay5.t_next,$whenCondition38,$PRE.onDelay6.t_next,$whenCondition35,$PRE.onDelay3.t_next,$whenCondition32,$PRE.onDelay7.t_next,$whenCondition29,$whenCondition27,$whenCondition28,onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,booPul.y,$PRE.booPul.y,onDelay7.y,onDelay7.u,onDelay3.y,onDelay3.u,onDelay6.y,onDelay6.u,onDelay5.y,onDelay5.u,onDelay4.y,onDelay4.u,onDelay2.y,onDelay2.u,onDelay1.y,onDelay1.u,onDelay0.y,onDelay0.u,$whenCondition31,$whenCondition30,$whenCondition34,$whenCondition33,$whenCondition37,$whenCondition36,$whenCondition40,$whenCondition39,$whenCondition43,$whenCondition42,$whenCondition46,$whenCondition45,$whenCondition49,$whenCondition48,$whenCondition52,$whenCondition51,$PRE.onDelay00.t_next,$whenCondition24,$PRE.onDelay11.t_next,$whenCondition21,$PRE.onDelay22.t_next,$whenCondition18,$PRE.onDelay44.t_next,$whenCondition15,$PRE.onDelay55.t_next,$whenCondition12,$PRE.onDelay66.t_next,$whenCondition9,$PRE.onDelay33.t_next,$whenCondition6,$PRE.onDelay77.t_next,$whenCondition3,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay11.y,onDelay22.t_next,onDelay22.y,onDelay44.t_next,booPul1.y,$PRE.booPul1.y,onDelay77.u,onDelay33.u,onDelay66.u,onDelay55.u,onDelay44.y,onDelay44.u,onDelay22.u,onDelay11.u,onDelay00.y,onDelay00.u,$whenCondition5,$whenCondition4,$whenCondition8,$whenCondition7,$whenCondition11,$whenCondition10,$whenCondition14,$whenCondition13,$whenCondition17,$whenCondition16,$whenCondition20,$whenCondition19,$whenCondition23,$whenCondition22,$whenCondition26,$whenCondition25,onDelay55.t_next,onDelay55.y,onDelay66.t_next,onDelay66.y,onDelay33.t_next,onDelay33.y,onDelay77.t_next,onDelay77.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * 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.0005584/1.251, allocations: 279.2 kB / 1.243 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/1.251, allocations: 79.64 kB / 1.244 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/1.251, allocations: 43.62 kB / 1.244 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.251, allocations: 11.92 kB / 1.244 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.251, allocations: 0 / 1.244 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/1.251, allocations: 132.6 kB / 1.244 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/1.251, allocations: 43.89 kB / 1.244 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/1.252, allocations: 47.94 kB / 1.244 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/1.252, allocations: 92.72 kB / 1.244 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0023/1.254, allocations: 1.365 MB / 1.245 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002188/1.256, allocations: 1.455 MB / 1.247 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008289/1.257, allocations: 0.5417 MB / 1.247 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002147/1.258, allocations: 166 kB / 1.247 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of Backend: time 7.62e-07/1.258, allocations: 0 / 1.247 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.26, allocations: 0.7512 MB / 1.248 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001785/1.261, allocations: 1.104 MB / 1.249 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of Templates: time 0.01974/1.281, allocations: 7.673 MB / 1.257 GB, free: 13.59 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches