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.002019/0.002019, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002923/0.002923, allocations: 218.2 kB / 22.26 MB, free: 5.082 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 8.027 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.487/3.487, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.002156/0.002156, allocations: 65.8 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4239, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002165/0.4261, allocations: 0.7414 MB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.4279, allocations: 1.174 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.4279, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.428, allocations: 3.938 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.4281, allocations: 23.84 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.4287, allocations: 123.1 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.4289, allocations: 119.8 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.429, allocations: 11.98 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.795e-05/0.4291, allocations: 51.91 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.4293, allocations: 39.83 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.4293, allocations: 12 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.861e-05/0.4294, allocations: 31.98 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.4294, allocations: 7.938 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.4295, allocations: 47.83 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.4297, allocations: 127.6 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4297, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4297, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4297, allocations: 0 / 1.329 GB, free: 14.96 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.0006237/0.4304, allocations: 335.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4304, allocations: 8.031 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.4305, allocations: 8.891 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.4306, allocations: 118.5 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4306, allocations: 4.375 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.4307, allocations: 12.31 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.4308, allocations: 46.19 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4308, allocations: 192 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4308, allocations: 3.938 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4308, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.4309, allocations: 16 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.4314, allocations: 295.9 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.52e-05/0.4314, allocations: 38.44 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.4315, allocations: 12.92 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.4315, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.4316, allocations: 71.38 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4316, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002144/0.4318, allocations: 73.64 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.4319, allocations: 55.34 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.432, allocations: 129.8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.432, allocations: 29.7 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.4321, allocations: 96.08 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.4321, allocations: 11.94 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.4322, allocations: 33.7 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4324, allocations: 314.8 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.747e-05/0.4325, allocations: 35.98 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.4326, allocations: 58.55 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.4327, allocations: 96.14 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4327, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003231/0.433, allocations: 171.2 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.4331, allocations: 33.7 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4331, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4331, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.4331, allocations: 7.984 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4332, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.4334, allocations: 27.97 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.4334, allocations: 8.062 kB / 1.331 GB, free: 12.62 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 0.0001394/0.4335, allocations: 122.4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.4335, allocations: 4.016 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.4336, allocations: 15.98 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4336, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.4336, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4336, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.4337, allocations: 152.6 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4337, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.4338, allocations: 11.92 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4338, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.4338, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4338, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4338, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.4339, allocations: 89.06 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.434, allocations: 7.891 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.434, allocations: 3.984 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.835e-05/0.434, allocations: 4 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.434, allocations: 4 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.434, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.491e-05/0.4341, allocations: 99.27 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4341, allocations: 0 / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000219/0.4343, allocations: 16 kB / 1.331 GB, free: 12.01 MB / 1.029 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.0002004/0.4345, allocations: 115.2 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.4348, allocations: 119.4 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4348, allocations: 7.938 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.4348, allocations: 15.94 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.4351, allocations: 17.47 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.4355, allocations: 142.1 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.4358, allocations: 0.6808 MB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.4359, allocations: 12.45 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.4359, allocations: 15.44 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4359, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of Templates: time 0.004448/0.4403, allocations: 1.36 MB / 1.334 GB, free: 9.48 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/jenkins/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.815306990407407]