Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Sources.Validation.PulseNegativeStartTime,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_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,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_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.00124, allocations: 108.5 kB / 16.41 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.001329/0.001329, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 64.05 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002827/1.06, allocations: 1.171 MB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003244/1.063, allocations: 2.175 MB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/1.063, allocations: 0 / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.246e-05/1.064, allocations: 27.67 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000402/1.064, allocations: 99.2 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003784/1.068, allocations: 1.405 MB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002115/1.07, allocations: 1.287 MB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/1.07, allocations: 24.69 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/1.071, allocations: 487.2 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009617/1.072, allocations: 426.9 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004843/1.073, allocations: 104 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/1.073, allocations: 120 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.707e-05/1.073, allocations: 67.75 kB / 1.175 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006572/1.074, allocations: 395 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/1.076, allocations: 0.9666 MB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.076, allocations: 0 / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.115e-06/1.076, allocations: 0 / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.196e-05/1.076, allocations: 0 / 1.176 GB, free: 11.13 MB / 0.9044 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.001618/1.077, allocations: 1.176 MB / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.078, allocations: 12.92 kB / 1.177 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/1.078, allocations: 68.73 kB / 1.177 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/1.078, allocations: 216.6 kB / 1.177 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/1.078, allocations: 40.36 kB / 1.177 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/1.078, allocations: 68.36 kB / 1.177 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/1.078, allocations: 210.9 kB / 1.178 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.078, allocations: 192 / 1.178 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/1.078, allocations: 15.92 kB / 1.178 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/1.079, allocations: 4 kB / 1.178 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/1.079, allocations: 63.78 kB / 1.178 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009853/1.08, allocations: 0.8523 MB / 1.179 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/1.08, allocations: 323.2 kB / 1.179 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/1.08, allocations: 140.9 kB / 1.179 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/1.08, allocations: 7.938 kB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007165/1.081, allocations: 478 kB / 1.179 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 1.943e-06/1.081, allocations: 0 / 1.179 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.001074/1.082, allocations: 0.5582 MB / 1.18 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000253/1.082, allocations: 443.1 kB / 1.18 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/1.083, allocations: 292.4 kB / 1.181 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/1.083, allocations: 69.7 kB / 1.181 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/1.083, allocations: 157.4 kB / 1.181 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/1.083, allocations: 99.31 kB / 1.181 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005487/1.084, allocations: 282 kB / 1.181 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.084, allocations: 350.8 kB / 1.182 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/1.085, allocations: 425.3 kB / 1.182 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.086, allocations: 0.7106 MB / 1.183 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/1.087, allocations: 1.191 MB / 1.184 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.087, allocations: 4 kB / 1.184 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002853/1.09, allocations: 1.717 MB / 1.186 GB, free: 52 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003029/1.09, allocations: 489.4 kB / 1.186 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.09, allocations: 8 kB / 1.186 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/1.09, allocations: 16 kB / 1.186 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/1.09, allocations: 31.8 kB / 1.186 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/1.091, allocations: 19.92 kB / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/1.093, allocations: 407.5 kB / 1.186 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/1.093, allocations: 95.92 kB / 1.187 GB, free: 14.91 MB / 0.92 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.0003865/1.093, allocations: 217.6 kB / 1.187 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/1.093, allocations: 51.69 kB / 1.187 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.62e-05/1.094, allocations: 38.14 kB / 1.187 GB, free: 14.6 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.094, allocations: 7.984 kB / 1.187 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.094, allocations: 4 kB / 1.187 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/1.094, allocations: 116.9 kB / 1.187 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/1.094, allocations: 11.98 kB / 1.187 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/1.094, allocations: 12 kB / 1.187 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/1.094, allocations: 63.81 kB / 1.187 GB, free: 14.37 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001083/1.095, allocations: 1.561 MB / 1.189 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00115/1.096, allocations: 1.621 MB / 1.19 GB, free: 11.15 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002216/1.096, allocations: 167.9 kB / 1.19 GB, free: 10.98 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001781/1.097, allocations: 191.1 kB / 1.19 GB, free: 10.8 MB / 0.92 GB Notification: Performance of Backend: time 5.41e-07/1.097, allocations: 0 / 1.19 GB, free: 10.8 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00355/1.1, allocations: 1.738 MB / 1.192 GB, free: 8.875 MB / 0.92 GB Notification: Performance of SimCode: time 0.001477/1.102, allocations: 0.9936 MB / 1.193 GB, free: 7.84 MB / 0.92 GB Notification: Performance of Templates: time 0.02059/1.122, allocations: 12.04 MB / 1.205 GB, free: 11.96 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches