Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001539/0.001539, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.001654/0.001654, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.041/3.041, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.103e-05, allocations: 6.219 kB / 1 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001917/0.001948, allocations: 0.7222 MB / 1.001 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.003722, allocations: 1.147 MB / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.003784, allocations: 4 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.003818, allocations: 11.92 kB / 1.002 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.003915, allocations: 11.88 kB / 1.002 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.004474, allocations: 137.2 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.004697, allocations: 123.8 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.004792, allocations: 4 kB / 1.002 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.004957, allocations: 71.88 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.005087, allocations: 31.89 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.005124, allocations: 16 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.005203, allocations: 24 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.005233, allocations: 11.98 kB / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.005306, allocations: 35.91 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.005566, allocations: 147.6 kB / 1.003 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005569, allocations: 0 / 1.003 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.186e-06/0.005572, allocations: 4 kB / 1.003 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.005578, allocations: 0 / 1.003 GB, free: 4.723 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005767/0.006154, allocations: 315.9 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.006197, allocations: 16.02 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.00625, allocations: 8.891 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.006405, allocations: 125.7 kB / 1.003 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.006423, allocations: 4.375 kB / 1.003 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.006451, allocations: 8.375 kB / 1.003 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.006558, allocations: 42.25 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.006567, allocations: 192 / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.006576, allocations: 4.312 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.006581, allocations: 384 / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/0.006631, allocations: 19.92 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.007066, allocations: 252.5 kB / 1.003 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.007146, allocations: 30.52 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.007172, allocations: 12.92 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.007185, allocations: 4 kB / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.007344, allocations: 63.33 kB / 1.003 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.007345, allocations: 0 / 1.003 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002258/0.007571, allocations: 89.69 kB / 1.004 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.007621, allocations: 55.41 kB / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.007741, allocations: 121.8 kB / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.007772, allocations: 33.7 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.007848, allocations: 92.12 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.007866, allocations: 11.84 kB / 1.004 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.007937, allocations: 29.7 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.00809, allocations: 326.8 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.008209, allocations: 65.69 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.008331, allocations: 88.25 kB / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.008473, allocations: 88.22 kB / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.008477, allocations: 3.984 kB / 1.004 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003493/0.008826, allocations: 197.1 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.008867, allocations: 37.64 kB / 1.005 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.008877, allocations: 7.984 kB / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.008891, allocations: 4.062 kB / 1.005 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.008938, allocations: 4 kB / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.008943, allocations: 0 / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.00914, allocations: 31.92 kB / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.009159, allocations: 4 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001012/0.00926, allocations: 121.8 kB / 1.005 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.009282, allocations: 7.922 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.009308, allocations: 8 kB / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.009309, allocations: 4 kB / 1.005 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.009312, allocations: 0 / 1.005 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.009315, allocations: 0 / 1.005 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.009427, allocations: 117.3 kB / 1.005 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.00943, allocations: 4 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-05/0.009446, allocations: 3.984 kB / 1.005 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.009448, allocations: 3.938 kB / 1.005 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.009457, allocations: 3.938 kB / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.009461, allocations: 4 kB / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009461, allocations: 0 / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.0096, allocations: 89.08 kB / 1.005 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.009614, allocations: 11.95 kB / 1.005 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.009632, allocations: 11.86 kB / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/0.009651, allocations: 0 / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.009684, allocations: 4 kB / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.009688, allocations: 3.938 kB / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.202e-05/0.00976, allocations: 99.7 kB / 1.005 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.00976, allocations: 0 / 1.005 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002179/0.009978, allocations: 16 kB / 1.005 GB, free: 1.766 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001923/0.01017, allocations: 115.2 kB / 1.005 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.01045, allocations: 157 kB / 1.005 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01045, allocations: 0 / 1.005 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.01049, allocations: 15.98 kB / 1.005 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01074, allocations: 12.31 kB / 1.005 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.01108, allocations: 140.9 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.596e-05/0.01117, allocations: 71.33 kB / 1.006 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.01119, allocations: 8.125 kB / 1.006 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.01122, allocations: 12.5 kB / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of SimCode: time 5.81e-07/0.01122, allocations: 0 / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of Templates: time 0.004971/0.01619, allocations: 1.478 MB / 1.007 GB, free: 15.73 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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: 8.455417018383741]