Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001068/0.001068, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.526/1.526, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.91 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.058, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.00333/1.062, allocations: 1.163 MB / 1.222 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003112/1.065, allocations: 2.18 MB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/1.065, allocations: 3.938 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.019e-05/1.065, allocations: 23.67 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003019/1.066, allocations: 99.2 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/1.069, allocations: 1.401 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001753/1.071, allocations: 1.291 MB / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/1.071, allocations: 20.75 kB / 1.227 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008495/1.072, allocations: 483.2 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008377/1.072, allocations: 434.9 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003629/1.073, allocations: 104 kB / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/1.073, allocations: 116 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.502e-05/1.073, allocations: 59.75 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006014/1.074, allocations: 395 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/1.075, allocations: 0.9713 MB / 1.229 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.075, allocations: 0 / 1.229 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.094e-06/1.075, allocations: 0 / 1.229 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.075, allocations: 4 kB / 1.229 GB, free: 9.668 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001837/1.077, allocations: 1.174 MB / 1.231 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.077, allocations: 8.031 kB / 1.231 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/1.077, allocations: 68.55 kB / 1.231 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/1.078, allocations: 216.5 kB / 1.231 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.464e-05/1.078, allocations: 40.36 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/1.078, allocations: 68.36 kB / 1.231 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/1.078, allocations: 218.8 kB / 1.231 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.078, allocations: 192 / 1.231 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/1.078, allocations: 11.92 kB / 1.231 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/1.078, allocations: 0 / 1.231 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/1.078, allocations: 71.72 kB / 1.231 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009922/1.079, allocations: 0.8406 MB / 1.232 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/1.08, allocations: 328.1 kB / 1.232 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/1.08, allocations: 136.9 kB / 1.232 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/1.08, allocations: 11.94 kB / 1.233 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006299/1.08, allocations: 466.9 kB / 1.233 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 3.838e-06/1.081, allocations: 0 / 1.233 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001081/1.082, allocations: 0.5616 MB / 1.234 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002293/1.082, allocations: 447.2 kB / 1.234 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/1.082, allocations: 296.2 kB / 1.234 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.082, allocations: 65.7 kB / 1.234 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/1.083, allocations: 157.3 kB / 1.234 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/1.083, allocations: 98.83 kB / 1.235 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005257/1.083, allocations: 274.1 kB / 1.235 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.083, allocations: 354.8 kB / 1.235 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008865/1.084, allocations: 425.2 kB / 1.236 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/1.085, allocations: 0.7067 MB / 1.236 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/1.087, allocations: 1.183 MB / 1.237 GB, free: 452 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/1.087, allocations: 0 / 1.237 GB, free: 452 kB / 0.9512 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002926/1.09, allocations: 1.725 MB / 1.239 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002971/1.09, allocations: 483.1 kB / 1.24 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/1.09, allocations: 12 kB / 1.24 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/1.09, allocations: 12 kB / 1.24 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/1.09, allocations: 35.8 kB / 1.24 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/1.09, allocations: 23.92 kB / 1.24 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/1.093, allocations: 403.3 kB / 1.24 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/1.093, allocations: 99.92 kB / 1.24 GB, free: 13.48 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0004688/1.093, allocations: 218.1 kB / 1.24 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/1.093, allocations: 51.39 kB / 1.24 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.833e-05/1.093, allocations: 42.14 kB / 1.24 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.093, allocations: 4 kB / 1.24 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.093, allocations: 4 kB / 1.24 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.094, allocations: 112.6 kB / 1.24 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/1.094, allocations: 15.98 kB / 1.241 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.094, allocations: 16 kB / 1.241 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.094, allocations: 59.81 kB / 1.241 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001169/1.095, allocations: 1.565 MB / 1.242 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00125/1.096, allocations: 1.617 MB / 1.244 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002553/1.097, allocations: 164.1 kB / 1.244 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002072/1.097, allocations: 191.1 kB / 1.244 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of Backend: time 4.71e-07/1.097, allocations: 0 / 1.244 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004369/1.101, allocations: 1.726 MB / 1.246 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001978/1.103, allocations: 0.9839 MB / 1.247 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of Templates: time 0.02554/1.129, allocations: 12.04 MB / 1.258 GB, free: 10.54 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches