Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,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.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,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.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001607, allocations: 113.2 kB / 16.42 MB, free: 6.465 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.001709/0.001709, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.634/1.634, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 64.12 kB / 1.066 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/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.PulsePositiveStartTime): time 0.003372/1.061, allocations: 1.157 MB / 1.222 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003372/1.065, allocations: 2.176 MB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/1.065, allocations: 4 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.323e-05/1.065, allocations: 23.67 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/1.065, allocations: 95.27 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/1.069, allocations: 1.399 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001674/1.07, allocations: 1.295 MB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/1.071, allocations: 24.75 kB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008302/1.071, allocations: 479.2 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008092/1.072, allocations: 438.8 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003831/1.073, allocations: 104 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/1.073, allocations: 120 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/1.073, allocations: 59.75 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006114/1.074, allocations: 399 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/1.075, allocations: 0.9601 MB / 1.229 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.075, allocations: 0 / 1.229 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.465e-06/1.075, allocations: 0 / 1.229 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.804e-05/1.075, allocations: 0 / 1.229 GB, free: 9.684 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.002019/1.077, allocations: 1.183 MB / 1.231 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.387e-05/1.077, allocations: 8.625 kB / 1.231 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/1.078, allocations: 72.55 kB / 1.231 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/1.078, allocations: 212.5 kB / 1.231 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/1.078, allocations: 40.34 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/1.078, allocations: 68.36 kB / 1.231 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/1.078, allocations: 218.1 kB / 1.231 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.078, allocations: 4.188 kB / 1.231 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/1.078, allocations: 11.92 kB / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.078, allocations: 7.938 kB / 1.231 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/1.079, allocations: 67.78 kB / 1.231 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/1.08, allocations: 0.8406 MB / 1.232 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/1.08, allocations: 328.2 kB / 1.232 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/1.08, allocations: 144.8 kB / 1.233 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/1.08, allocations: 4 kB / 1.233 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006998/1.081, allocations: 458.9 kB / 1.233 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 3.075e-06/1.081, allocations: 0 / 1.233 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001094/1.082, allocations: 0.5688 MB / 1.234 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002118/1.082, allocations: 435.2 kB / 1.234 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/1.083, allocations: 300.2 kB / 1.234 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/1.083, allocations: 65.7 kB / 1.234 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/1.083, allocations: 165.3 kB / 1.234 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/1.083, allocations: 94.84 kB / 1.235 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005299/1.084, allocations: 270.1 kB / 1.235 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.084, allocations: 358.8 kB / 1.235 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008406/1.085, allocations: 421.3 kB / 1.236 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/1.086, allocations: 0.6989 MB / 1.236 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/1.087, allocations: 1.199 MB / 1.237 GB, free: 452 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.087, allocations: 4 kB / 1.237 GB, free: 448 kB / 0.9512 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002676/1.09, allocations: 1.717 MB / 1.239 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003303/1.09, allocations: 487.2 kB / 1.24 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/1.09, allocations: 12 kB / 1.24 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.333e-05/1.09, allocations: 12.06 kB / 1.24 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.185e-05/1.09, allocations: 35.86 kB / 1.24 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/1.09, allocations: 15.94 kB / 1.24 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.093, allocations: 415 kB / 1.24 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/1.093, allocations: 95.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.0004429/1.093, allocations: 218.1 kB / 1.24 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/1.094, allocations: 47.45 kB / 1.24 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.732e-05/1.094, allocations: 38.14 kB / 1.24 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.094, allocations: 4 kB / 1.24 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.094, allocations: 4 kB / 1.24 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/1.094, allocations: 120.6 kB / 1.24 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-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.0001112/1.094, allocations: 12 kB / 1.241 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.094, allocations: 55.88 kB / 1.241 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001164/1.095, allocations: 1.572 MB / 1.242 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001108/1.096, allocations: 1.618 MB / 1.244 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002066/1.097, allocations: 159.8 kB / 1.244 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001622/1.097, allocations: 195 kB / 1.244 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of Backend: time 5.91e-07/1.097, allocations: 0 / 1.244 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003515/1.1, allocations: 1.733 MB / 1.246 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001545/1.102, allocations: 0.984 MB / 1.247 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of Templates: time 0.0207/1.123, allocations: 12.04 MB / 1.258 GB, free: 10.53 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches