Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001579/0.001579, allocations: 115.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.001863/0.001863, allocations: 190.6 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.464/1.464, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 67.89 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.043, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002723/1.046, allocations: 1.174 MB / 1.21 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002985/1.049, allocations: 2.168 MB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/1.049, allocations: 4 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.933e-05/1.049, allocations: 27.67 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003343/1.05, allocations: 83.2 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/1.053, allocations: 1.4 MB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001725/1.055, allocations: 1.291 MB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/1.055, allocations: 24.69 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008996/1.056, allocations: 483.2 kB / 1.215 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008643/1.057, allocations: 434.8 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004234/1.057, allocations: 104 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/1.058, allocations: 120 kB / 1.216 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/1.058, allocations: 63.75 kB / 1.216 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006696/1.058, allocations: 391 kB / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/1.06, allocations: 0.9679 MB / 1.217 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.06, allocations: 0 / 1.217 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.874e-06/1.06, allocations: 0 / 1.217 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.671e-05/1.06, allocations: 0 / 1.217 GB, free: 4.996 MB / 0.9356 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.001843/1.061, allocations: 1.172 MB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.062, allocations: 12.03 kB / 1.218 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/1.062, allocations: 64.64 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/1.062, allocations: 216.4 kB / 1.218 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.191e-05/1.062, allocations: 36.36 kB / 1.218 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/1.062, allocations: 72.36 kB / 1.218 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/1.063, allocations: 218.8 kB / 1.219 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.063, allocations: 4.125 kB / 1.219 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/1.063, allocations: 11.92 kB / 1.219 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/1.063, allocations: 4 kB / 1.219 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/1.063, allocations: 71.72 kB / 1.219 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/1.064, allocations: 0.8367 MB / 1.22 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/1.064, allocations: 327.2 kB / 1.22 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/1.065, allocations: 136.9 kB / 1.22 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/1.065, allocations: 11.94 kB / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006062/1.065, allocations: 466.9 kB / 1.22 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=45): time 3.577e-06/1.065, allocations: 0 / 1.22 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.00115/1.066, allocations: 0.5655 MB / 1.221 GB, free: 224 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002581/1.067, allocations: 435.2 kB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/1.067, allocations: 300.2 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001793/1.067, allocations: 69.64 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.067, allocations: 157.3 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/1.067, allocations: 98.83 kB / 1.222 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005647/1.068, allocations: 278 kB / 1.222 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.068, allocations: 350.8 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009021/1.069, allocations: 425.3 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/1.07, allocations: 0.7067 MB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/1.072, allocations: 1.187 MB / 1.225 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/1.072, allocations: 4 kB / 1.225 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002969/1.075, allocations: 1.721 MB / 1.227 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003251/1.075, allocations: 485.4 kB / 1.227 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/1.075, allocations: 8 kB / 1.227 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/1.075, allocations: 16 kB / 1.227 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/1.075, allocations: 31.86 kB / 1.227 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.075, allocations: 15.94 kB / 1.227 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/1.078, allocations: 407.3 kB / 1.228 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/1.078, allocations: 103.9 kB / 1.228 GB, free: 8.793 MB / 0.9512 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.0004602/1.078, allocations: 213.6 kB / 1.228 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/1.079, allocations: 51.45 kB / 1.228 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.115e-05/1.079, allocations: 42.08 kB / 1.228 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.079, allocations: 4 kB / 1.228 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.079, allocations: 4 kB / 1.228 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/1.079, allocations: 112.7 kB / 1.228 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/1.079, allocations: 15.98 kB / 1.228 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/1.079, allocations: 16 kB / 1.228 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.079, allocations: 55.88 kB / 1.228 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001309/1.08, allocations: 1.561 MB / 1.23 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001331/1.082, allocations: 1.628 MB / 1.231 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002421/1.082, allocations: 164.2 kB / 1.231 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001793/1.082, allocations: 195 kB / 1.232 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of Backend: time 8.91e-07/1.082, allocations: 0 / 1.232 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003688/1.086, allocations: 1.73 MB / 1.233 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001687/1.088, allocations: 0.976 MB / 1.234 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of Templates: time 0.02257/1.11, allocations: 12.45 MB / 1.246 GB, free: 5.457 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches