Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001563/0.001563, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001779/0.001779, allocations: 189.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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.14 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.311/2.311, allocations: 390.3 MB / 0.6655 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.001541, allocations: 67.89 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9952/0.9967, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.002416/0.9992, allocations: 1.182 MB / 1.09 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002099/1.001, allocations: 1.63 MB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/1.002, allocations: 6.969 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.792e-05/1.002, allocations: 27.66 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/1.002, allocations: 56.88 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/1.003, allocations: 439.2 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000985/1.004, allocations: 0.7522 MB / 1.093 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/1.004, allocations: 81.03 kB / 1.093 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/1.005, allocations: 318.8 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/1.005, allocations: 325.5 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/1.005, allocations: 78.47 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/1.005, allocations: 91.38 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/1.006, allocations: 161.6 kB / 1.094 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003837/1.006, allocations: 308.8 kB / 1.094 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009326/1.007, allocations: 0.6625 MB / 1.095 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.007, allocations: 3.938 kB / 1.095 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/1.007, allocations: 0.8125 kB / 1.095 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.638e-05/1.007, allocations: 4 kB / 1.095 GB, free: 2.105 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00191/1.009, allocations: 0.8893 MB / 1.095 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.009, allocations: 9.125 kB / 1.095 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/1.009, allocations: 66.86 kB / 1.096 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009715/1.01, allocations: 396.7 kB / 1.096 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.813e-05/1.01, allocations: 51.28 kB / 1.096 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/1.01, allocations: 85.64 kB / 1.096 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009502/1.011, allocations: 453.4 kB / 1.096 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.011, allocations: 3.984 kB / 1.096 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.896e-05/1.012, allocations: 26.11 kB / 1.097 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/1.012, allocations: 5.375 kB / 1.097 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/1.012, allocations: 227.2 kB / 1.097 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/1.014, allocations: 1.011 MB / 1.098 GB, free: 384 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/1.015, allocations: 0.6164 MB / 1.098 GB, free: 156 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/1.016, allocations: 312.5 kB / 1.099 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/1.016, allocations: 6.312 kB / 1.099 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/1.017, allocations: 0.731 MB / 1.099 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=102): time 4.158e-06/1.017, allocations: 4 kB / 1.099 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102): time 0.003046/1.02, allocations: 1.5 MB / 1.101 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.02, allocations: 94.81 kB / 1.101 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/1.021, allocations: 266 kB / 1.101 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/1.021, allocations: 68.28 kB / 1.101 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/1.021, allocations: 143.5 kB / 1.101 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/1.021, allocations: 213.6 kB / 1.102 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003702/1.022, allocations: 233.8 kB / 1.102 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002044/1.022, allocations: 374.9 kB / 1.102 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/1.022, allocations: 229.5 kB / 1.102 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008647/1.023, allocations: 0.6747 MB / 1.103 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.025, allocations: 0.976 MB / 1.104 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/1.025, allocations: 4.5 kB / 1.104 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001758/1.026, allocations: 1.041 MB / 1.105 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.931e-05/1.026, allocations: 68.34 kB / 1.105 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/1.026, allocations: 15.59 kB / 1.105 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.82e-05/1.026, allocations: 23.27 kB / 1.105 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/1.027, allocations: 132.5 kB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-05/1.027, allocations: 33.61 kB / 1.105 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/1.028, allocations: 142.2 kB / 1.105 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/1.028, allocations: 66.05 kB / 1.105 GB, free: 12.01 MB / 0.8731 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.0005338/1.028, allocations: 277.7 kB / 1.106 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/1.029, allocations: 71.12 kB / 1.106 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/1.029, allocations: 54.78 kB / 1.106 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/1.029, allocations: 8.922 kB / 1.106 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.029, allocations: 9.797 kB / 1.106 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/1.029, allocations: 124 kB / 1.106 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/1.029, allocations: 42.02 kB / 1.106 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/1.029, allocations: 52.78 kB / 1.106 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/1.03, allocations: 91.75 kB / 1.106 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001997/1.032, allocations: 1.368 MB / 1.107 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002044/1.034, allocations: 1.453 MB / 1.109 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008025/1.034, allocations: 0.5424 MB / 1.109 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001705/1.035, allocations: 165.1 kB / 1.11 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of Backend: time 5.41e-07/1.035, allocations: 1.281 kB / 1.11 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001724/1.036, allocations: 0.7561 MB / 1.11 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00135/1.038, allocations: 1.08 MB / 1.111 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of Templates: time 0.02065/1.058, allocations: 7.665 MB / 1.119 GB, free: 8.184 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches