Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001158/0.001157, allocations: 115 kB / 16.42 MB, free: 6.488 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.001192/0.001192, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.371/1.371, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 59.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002192/1.015, allocations: 1.179 MB / 1.09 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002526/1.017, allocations: 2.171 MB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/1.018, allocations: 2.25 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.395e-05/1.018, allocations: 20.95 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001898/1.018, allocations: 90.95 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002988/1.021, allocations: 1.402 MB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001643/1.023, allocations: 1.297 MB / 1.095 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/1.023, allocations: 18.81 kB / 1.095 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006562/1.023, allocations: 479.8 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006698/1.024, allocations: 442.4 kB / 1.096 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/1.024, allocations: 109.3 kB / 1.096 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/1.024, allocations: 119.4 kB / 1.096 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/1.025, allocations: 56.02 kB / 1.096 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004971/1.025, allocations: 391.6 kB / 1.096 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/1.026, allocations: 0.9642 MB / 1.097 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.026, allocations: 0 / 1.097 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/1.026, allocations: 0 / 1.097 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.187e-06/1.026, allocations: 1.344 kB / 1.097 GB, free: 0.9961 MB / 0.8575 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.001306/1.028, allocations: 1.176 MB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.028, allocations: 9.531 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/1.028, allocations: 69.5 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/1.028, allocations: 226.5 kB / 1.099 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/1.028, allocations: 36.16 kB / 1.099 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/1.028, allocations: 65.17 kB / 1.099 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/1.029, allocations: 217.4 kB / 1.099 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.029, allocations: 5.906 kB / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/1.029, allocations: 10.61 kB / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/1.029, allocations: 2.719 kB / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/1.029, allocations: 71.58 kB / 1.099 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.03, allocations: 0.8327 MB / 1.1 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/1.03, allocations: 328.9 kB / 1.1 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/1.03, allocations: 138.8 kB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/1.03, allocations: 12.66 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006828/1.031, allocations: 470.1 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/1.031, allocations: 0 / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001108/1.032, allocations: 0.561 MB / 1.101 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/1.032, allocations: 437.3 kB / 1.102 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/1.033, allocations: 299.1 kB / 1.102 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/1.033, allocations: 67.83 kB / 1.102 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/1.033, allocations: 164.4 kB / 1.102 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/1.033, allocations: 88.58 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005354/1.034, allocations: 277.8 kB / 1.103 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.034, allocations: 349.7 kB / 1.103 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/1.035, allocations: 423.2 kB / 1.103 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/1.036, allocations: 0.709 MB / 1.104 GB, free: 12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/1.037, allocations: 1.193 MB / 1.105 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.037, allocations: 4.578 kB / 1.105 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002855/1.04, allocations: 1.723 MB / 1.107 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002951/1.04, allocations: 484.7 kB / 1.107 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.04, allocations: 10.44 kB / 1.107 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/1.04, allocations: 13.28 kB / 1.107 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/1.04, allocations: 33.22 kB / 1.107 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.721e-05/1.04, allocations: 20.19 kB / 1.107 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/1.043, allocations: 405.1 kB / 1.108 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/1.043, allocations: 99.97 kB / 1.108 GB, free: 9.41 MB / 0.8731 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.0003802/1.043, allocations: 215.9 kB / 1.108 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/1.043, allocations: 50.56 kB / 1.108 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/1.044, allocations: 35.45 kB / 1.108 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.044, allocations: 6.656 kB / 1.108 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/1.044, allocations: 8.422 kB / 1.108 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/1.044, allocations: 114.8 kB / 1.108 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/1.044, allocations: 15.58 kB / 1.108 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/1.044, allocations: 18.14 kB / 1.108 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.044, allocations: 62.44 kB / 1.108 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001003/1.045, allocations: 1.558 MB / 1.11 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009711/1.046, allocations: 1.615 MB / 1.111 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002241/1.046, allocations: 159.3 kB / 1.112 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001675/1.046, allocations: 190 kB / 1.112 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of Backend: time 5.61e-07/1.046, allocations: 0 / 1.112 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003445/1.05, allocations: 1.729 MB / 1.113 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001561/1.051, allocations: 0.9912 MB / 1.114 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of Templates: time 0.03734/1.089, allocations: 12.05 MB / 1.126 GB, free: 3.102 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches