Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.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.001445/0.001445, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001557/0.001557, allocations: 213.4 kB / 23 MB, free: 4.969 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.354/3.354, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.TrueDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 66.55 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4109, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.002653/0.4135, allocations: 1.101 MB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002547/0.4161, allocations: 1.642 MB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.4162, allocations: 7.938 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.08e-05/0.4163, allocations: 27.61 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.4165, allocations: 67.36 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4177, allocations: 440.4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007996/0.4185, allocations: 0.7451 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.4187, allocations: 65.52 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.4191, allocations: 319.4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004244/0.4195, allocations: 331 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.4196, allocations: 72 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.4198, allocations: 91.98 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.4199, allocations: 159.6 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.4202, allocations: 263.2 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006991/0.4209, allocations: 0.6774 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4209, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4209, allocations: 4 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.4209, allocations: 3.938 kB / 1.333 GB, free: 11.01 MB / 1.029 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.001814/0.4228, allocations: 0.8156 MB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.4228, allocations: 8.031 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.423, allocations: 76.67 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.4239, allocations: 326.3 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.424, allocations: 56.75 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.4241, allocations: 84.33 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00081/0.4249, allocations: 449.8 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4249, allocations: 0 / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.425, allocations: 23.95 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.425, allocations: 8 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.4255, allocations: 226.1 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.4272, allocations: 0.8139 MB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000931/0.4281, allocations: 0.4959 MB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004464/0.4286, allocations: 237.6 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.4286, allocations: 7.984 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001269/0.4299, allocations: 0.7375 MB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of pre-optimization done (n=102): time 2.986e-06/0.4299, allocations: 0 / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of matching and sorting (n=102): time 0.002574/0.4324, allocations: 1.515 MB / 1.339 GB, free: 5.004 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.4325, allocations: 93.98 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.4328, allocations: 265.7 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.433, allocations: 81.62 kB / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.4331, allocations: 138.2 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.4334, allocations: 222.4 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.4338, allocations: 230.9 kB / 1.34 GB, free: 3.949 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002628/0.434, allocations: 370.7 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/0.4346, allocations: 293.8 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.4356, allocations: 0.732 MB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.437, allocations: 0.9872 MB / 1.342 GB, free: 1.113 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.437, allocations: 4 kB / 1.342 GB, free: 1.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00193/0.439, allocations: 1.103 MB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.691e-05/0.4391, allocations: 69.19 kB / 1.343 GB, free: 15.9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.4391, allocations: 16 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/0.4391, allocations: 24 kB / 1.343 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.4396, allocations: 135.6 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.697e-05/0.4396, allocations: 27.92 kB / 1.343 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.4404, allocations: 143.3 kB / 1.343 GB, free: 15.56 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.4405, allocations: 75.92 kB / 1.344 GB, free: 15.48 MB / 1.045 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.0004149/0.4409, allocations: 274.4 kB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.441, allocations: 75.64 kB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.4411, allocations: 51.61 kB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.4411, allocations: 7.984 kB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4411, allocations: 3.938 kB / 1.344 GB, free: 15.06 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.4412, allocations: 51.55 kB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4413, allocations: 35.95 kB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.4416, allocations: 59.86 kB / 1.344 GB, free: 14.92 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.4418, allocations: 96.67 kB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002046/0.4438, allocations: 1.396 MB / 1.345 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002015/0.4458, allocations: 1.498 MB / 1.347 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005937/0.4464, allocations: 370.7 kB / 1.347 GB, free: 11.54 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000167/0.4466, allocations: 169.2 kB / 1.347 GB, free: 11.37 MB / 1.045 GB Notification: Performance of Backend: time 6.72e-07/0.4466, allocations: 0 / 1.347 GB, free: 11.37 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.4483, allocations: 0.7503 MB / 1.348 GB, free: 10.58 MB / 1.045 GB Notification: Performance of SimCode: time 0.001549/0.4498, allocations: 1.104 MB / 1.349 GB, free: 9.422 MB / 1.045 GB Notification: Performance of Templates: time 0.01688/0.4667, allocations: 8.927 MB / 1.358 GB, free: 0.5938 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.565558401001908]