Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001882/0.001882, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.00218/0.00218, allocations: 211 kB / 23 MB, free: 4.934 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.372/3.372, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.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.002007/0.002007, allocations: 77.33 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3877, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002699/0.3904, allocations: 0.7221 MB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.3922, allocations: 1.151 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.3923, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.3923, allocations: 3.938 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.615e-05/0.3924, allocations: 11.88 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.393, allocations: 134.6 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.3932, allocations: 123.8 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3933, allocations: 8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3934, allocations: 43.91 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3935, allocations: 51.81 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.3935, allocations: 12 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.697e-05/0.3936, allocations: 24 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.3936, allocations: 11.92 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.3937, allocations: 39.91 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3939, allocations: 131.6 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.394, allocations: 3.984 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.394, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.394, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 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.0005551/0.3945, allocations: 321.5 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3946, allocations: 12.03 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.3946, allocations: 12.89 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3947, allocations: 122.4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.3948, allocations: 8.375 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.3948, allocations: 4.375 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3949, allocations: 42.25 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3949, allocations: 192 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3949, allocations: 3.938 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3949, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.939e-05/0.395, allocations: 8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.3954, allocations: 260.4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.706e-05/0.3955, allocations: 30.56 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.3955, allocations: 16.86 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.3955, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.3957, allocations: 63.39 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3957, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002373/0.3959, allocations: 89.5 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.396, allocations: 51.41 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3961, allocations: 125.8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.3961, allocations: 29.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.3962, allocations: 92.09 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3962, allocations: 15.94 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.3963, allocations: 33.64 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3965, allocations: 314.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3966, allocations: 69.67 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.3967, allocations: 92.25 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3968, allocations: 96.27 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3968, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003202/0.3972, allocations: 204.9 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.3972, allocations: 37.77 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3972, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3972, allocations: 4 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.685e-05/0.3973, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3973, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.3975, allocations: 35.95 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.3975, allocations: 4.078 kB / 1.332 GB, free: 12.11 MB / 1.029 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 9.828e-05/0.3976, allocations: 117.8 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.3976, allocations: 11.89 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.3976, allocations: 8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3977, allocations: 3.984 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3977, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.3977, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3977, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.3977, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.3977, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001414/0.3979, allocations: 140.9 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001899/0.3981, allocations: 234.7 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.286e-05/0.3981, allocations: 15.98 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.381e-05/0.3982, allocations: 99.27 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of Backend: time 3.31e-07/0.3982, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000541/0.3987, allocations: 219.4 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006319/0.3993, allocations: 0.6044 MB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Templates: time 0.004684/0.404, allocations: 1.586 MB / 1.335 GB, free: 8.988 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.492109955004707]