Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 78.8 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 160.1 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.071/3.071, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002084/1.014, allocations: 0.927 MB / 1.188 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001708/1.016, allocations: 1.444 MB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/1.016, allocations: 2.062 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.643e-05/1.016, allocations: 17.03 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/1.016, allocations: 61.36 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009624/1.017, allocations: 442.5 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004951/1.017, allocations: 491.9 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/1.018, allocations: 37.33 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/1.018, allocations: 186.3 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/1.018, allocations: 150.2 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.75e-05/1.018, allocations: 48.41 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/1.018, allocations: 62.97 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/1.018, allocations: 36.89 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/1.018, allocations: 149.6 kB / 1.191 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005932/1.019, allocations: 0.4932 MB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/1.019, allocations: 0 / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.463e-06/1.019, allocations: 1.156 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.019, allocations: 0 / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006802/1.02, allocations: 0.5639 MB / 1.192 GB, free: 13.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.02, allocations: 9.438 kB / 1.192 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.651e-05/1.02, allocations: 33.06 kB / 1.192 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/1.02, allocations: 167 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/1.02, allocations: 15.83 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/1.02, allocations: 23.88 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/1.02, allocations: 126 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.02, allocations: 192 / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/1.02, allocations: 10.44 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/1.02, allocations: 2.812 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/1.02, allocations: 56.33 kB / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/1.021, allocations: 0.7263 MB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/1.021, allocations: 115.5 kB / 1.193 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.453e-05/1.021, allocations: 49.86 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/1.021, allocations: 6.188 kB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/1.022, allocations: 177.6 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/1.022, allocations: 4 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.000439/1.022, allocations: 227.8 kB / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/1.022, allocations: 142 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/1.022, allocations: 237.5 kB / 1.194 GB, free: 11.54 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/1.022, allocations: 36.98 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/1.023, allocations: 132.8 kB / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/1.023, allocations: 31.48 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/1.023, allocations: 96.73 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.638e-05/1.023, allocations: 335.5 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/1.023, allocations: 275.8 kB / 1.194 GB, free: 10.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/1.024, allocations: 355.8 kB / 1.195 GB, free: 10.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/1.024, allocations: 366.7 kB / 1.195 GB, free: 10.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/1.024, allocations: 1.094 kB / 1.195 GB, free: 10.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009077/1.025, allocations: 0.697 MB / 1.196 GB, free: 9.723 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/1.025, allocations: 135.7 kB / 1.196 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.025, allocations: 2.188 kB / 1.196 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.025, allocations: 4.406 kB / 1.196 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/1.025, allocations: 15.52 kB / 1.196 GB, free: 9.582 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.025, allocations: 3.75 kB / 1.196 GB, free: 9.582 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/1.026, allocations: 117.4 kB / 1.196 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/1.026, allocations: 24.77 kB / 1.196 GB, free: 9.562 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.000142/1.026, allocations: 156.7 kB / 1.196 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/1.026, allocations: 18.48 kB / 1.196 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/1.026, allocations: 26 kB / 1.196 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.026, allocations: 2.312 kB / 1.196 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.026, allocations: 2 kB / 1.196 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.026, allocations: 2.359 kB / 1.196 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/1.026, allocations: 186.8 kB / 1.197 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/1.026, allocations: 1.25 kB / 1.197 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/1.026, allocations: 9.484 kB / 1.197 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/1.026, allocations: 2.188 kB / 1.197 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/1.026, allocations: 4.234 kB / 1.197 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.026, allocations: 5.781 kB / 1.197 GB, free: 9.223 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.026, allocations: 1.391 kB / 1.197 GB, free: 9.223 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/1.027, allocations: 228.2 kB / 1.197 GB, free: 9.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/1.027, allocations: 17 kB / 1.197 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/1.027, allocations: 7.203 kB / 1.197 GB, free: 9.059 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.616e-05/1.027, allocations: 7.938 kB / 1.197 GB, free: 9.055 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/1.027, allocations: 24.05 kB / 1.197 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/1.027, allocations: 8.406 kB / 1.197 GB, free: 9.043 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001465/1.027, allocations: 171.9 kB / 1.197 GB, free: 8.934 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.027, allocations: 1.094 kB / 1.197 GB, free: 8.934 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000356/1.027, allocations: 72.64 kB / 1.197 GB, free: 8.922 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001538/1.027, allocations: 114.1 kB / 1.197 GB, free: 8.824 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006798/1.028, allocations: 0.6018 MB / 1.198 GB, free: 8.328 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.028, allocations: 0 / 1.198 GB, free: 8.328 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/1.028, allocations: 60.3 kB / 1.198 GB, free: 8.309 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/1.029, allocations: 71.31 kB / 1.198 GB, free: 8.281 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/1.029, allocations: 347.4 kB / 1.198 GB, free: 8.035 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/1.029, allocations: 120.8 kB / 1.198 GB, free: 7.957 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.413e-05/1.029, allocations: 18.34 kB / 1.198 GB, free: 7.953 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/1.029, allocations: 24.17 kB / 1.198 GB, free: 7.941 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/1.029, allocations: 0 / 1.198 GB, free: 7.941 MB / 1.076 GB Notification: Performance of Templates: time 0.01025/1.04, allocations: 5.085 MB / 1.203 GB, free: 7.344 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.376503361039795]