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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001873/0.001873, allocations: 110.5 kB / 16.41 MB, free: 5.984 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.002589/0.00259, allocations: 194.1 kB / 17.35 MB, free: 5.574 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.584/1.584, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 67.89 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 159.9 MB / 1.226 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.00268/1.078, allocations: 1.171 MB / 1.228 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002996/1.081, allocations: 2.161 MB / 1.23 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/1.082, allocations: 7.938 kB / 1.23 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.845e-05/1.082, allocations: 23.67 kB / 1.23 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003353/1.082, allocations: 95.27 kB / 1.23 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00326/1.085, allocations: 1.395 MB / 1.231 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00178/1.087, allocations: 1.295 MB / 1.232 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/1.087, allocations: 24.75 kB / 1.232 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/1.088, allocations: 479.2 kB / 1.233 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008607/1.089, allocations: 430.8 kB / 1.233 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004155/1.089, allocations: 108 kB / 1.233 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/1.09, allocations: 120 kB / 1.233 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/1.09, allocations: 63.75 kB / 1.234 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007091/1.091, allocations: 391 kB / 1.234 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/1.092, allocations: 0.9669 MB / 1.235 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.092, allocations: 4 kB / 1.235 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.242e-06/1.092, allocations: 0 / 1.235 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.877e-05/1.092, allocations: 0 / 1.235 GB, free: 4.988 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.002017/1.094, allocations: 1.191 MB / 1.236 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.094, allocations: 8.031 kB / 1.236 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/1.094, allocations: 64.75 kB / 1.236 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/1.095, allocations: 220.5 kB / 1.236 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/1.095, allocations: 44.36 kB / 1.236 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/1.095, allocations: 68.34 kB / 1.236 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/1.095, allocations: 214.9 kB / 1.237 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.095, allocations: 4.188 kB / 1.237 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/1.095, allocations: 3.938 kB / 1.237 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/1.095, allocations: 4 kB / 1.237 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/1.095, allocations: 75.7 kB / 1.237 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009734/1.096, allocations: 0.8496 MB / 1.238 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/1.097, allocations: 327.2 kB / 1.238 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/1.097, allocations: 136.9 kB / 1.238 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/1.097, allocations: 7.938 kB / 1.238 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007798/1.098, allocations: 474.9 kB / 1.238 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 4.228e-06/1.098, allocations: 0 / 1.238 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001211/1.099, allocations: 0.5653 MB / 1.239 GB, free: 176 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002693/1.099, allocations: 427.2 kB / 1.239 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/1.1, allocations: 308.3 kB / 1.24 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001673/1.1, allocations: 65.7 kB / 1.24 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/1.1, allocations: 161.4 kB / 1.24 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/1.1, allocations: 99.31 kB / 1.24 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005773/1.101, allocations: 270.1 kB / 1.24 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.101, allocations: 350.8 kB / 1.241 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009349/1.102, allocations: 429.3 kB / 1.241 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.103, allocations: 0.7028 MB / 1.242 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/1.104, allocations: 1.199 MB / 1.243 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/1.105, allocations: 4 kB / 1.243 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002896/1.107, allocations: 1.717 MB / 1.245 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003214/1.108, allocations: 489.4 kB / 1.245 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/1.108, allocations: 12 kB / 1.245 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/1.108, allocations: 12 kB / 1.245 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.403e-05/1.108, allocations: 31.86 kB / 1.245 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/1.108, allocations: 15.94 kB / 1.245 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/1.11, allocations: 411.1 kB / 1.245 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/1.11, allocations: 95.92 kB / 1.246 GB, free: 8.754 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.0003726/1.111, allocations: 222 kB / 1.246 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.111, allocations: 43.7 kB / 1.246 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.634e-05/1.111, allocations: 38.14 kB / 1.246 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.111, allocations: 7.984 kB / 1.246 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.111, allocations: 4 kB / 1.246 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/1.111, allocations: 116.9 kB / 1.246 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/1.111, allocations: 15.98 kB / 1.246 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.111, allocations: 11.98 kB / 1.246 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.111, allocations: 55.88 kB / 1.246 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001124/1.112, allocations: 1.568 MB / 1.248 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001297/1.114, allocations: 1.614 MB / 1.249 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000242/1.114, allocations: 155.8 kB / 1.249 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001899/1.114, allocations: 199 kB / 1.249 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of Backend: time 1.263e-06/1.114, allocations: 0 / 1.249 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003682/1.118, allocations: 1.735 MB / 1.251 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001474/1.119, allocations: 1.003 MB / 1.252 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of Templates: time 0.02161/1.141, allocations: 12.05 MB / 1.264 GB, free: 5.789 MB / 0.9825 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