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.001623/0.001623, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001781/0.001781, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.467/1.467, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.253/3.253, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 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.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: 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.002897/0.002897, allocations: 68.33 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3435, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001996/0.3455, allocations: 0.7005 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3471, allocations: 1.159 MB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.3471, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.3471, allocations: 3.938 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.3472, allocations: 11.94 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.3477, allocations: 134.4 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.3479, allocations: 127.7 kB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3481, allocations: 8 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.917e-05/0.3482, allocations: 51.91 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.3483, allocations: 43.81 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.3484, allocations: 12 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.3484, allocations: 19.98 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.3485, allocations: 8 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.3486, allocations: 43.8 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.3488, allocations: 135.6 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3488, allocations: 3.938 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3488, allocations: 0 / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.3488, allocations: 0 / 1.367 GB, free: 11.12 MB / 1.061 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.0006886/0.3495, allocations: 319.8 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3496, allocations: 12.03 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.3496, allocations: 12.92 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.3498, allocations: 110.5 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.3498, allocations: 12.31 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.3498, allocations: 4.375 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.35, allocations: 43.31 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.35, allocations: 192 / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.35, allocations: 3.938 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.35, allocations: 0 / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.683e-05/0.35, allocations: 19.92 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.3505, allocations: 256.5 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.551e-05/0.3506, allocations: 30.56 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.3506, allocations: 16.86 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.3506, allocations: 0 / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.3508, allocations: 67.33 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3508, allocations: 0 / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002356/0.351, allocations: 81.62 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3511, allocations: 51.41 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.3512, allocations: 125.8 kB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.3513, allocations: 29.7 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.3514, allocations: 96.12 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.3514, allocations: 11.89 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.3514, allocations: 29.7 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3516, allocations: 318.8 kB / 1.369 GB, free: 9.324 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3517, allocations: 65.69 kB / 1.369 GB, free: 9.254 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.3519, allocations: 92.25 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.352, allocations: 84.28 kB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.352, allocations: 64 / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003493/0.3524, allocations: 220.8 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.3524, allocations: 33.7 kB / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3524, allocations: 0 / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3524, allocations: 3.984 kB / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.588e-05/0.3525, allocations: 4 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3525, allocations: 0 / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.3527, allocations: 27.97 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.3527, allocations: 8 kB / 1.369 GB, free: 8.734 MB / 1.061 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.000119/0.3528, allocations: 130.4 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.3528, allocations: 11.94 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.3528, allocations: 4 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3528, allocations: 240 / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.3529, allocations: 4 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3529, allocations: 3.984 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.353, allocations: 113.3 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.353, allocations: 3.938 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.353, allocations: 7.984 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.353, allocations: 0 / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.353, allocations: 0 / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.353, allocations: 7.938 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.353, allocations: 0 / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.3532, allocations: 89.08 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.3532, allocations: 15.83 kB / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3532, allocations: 3.984 kB / 1.37 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.3532, allocations: 4 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.3533, allocations: 0 / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.3533, allocations: 4 kB / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.897e-05/0.3533, allocations: 95.27 kB / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3533, allocations: 0 / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002202/0.3536, allocations: 20 kB / 1.37 GB, free: 8.156 MB / 1.061 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.0001883/0.3538, allocations: 103.2 kB / 1.37 GB, free: 8.047 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.354, allocations: 153 kB / 1.37 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.354, allocations: 0 / 1.37 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.333e-05/0.3541, allocations: 19.98 kB / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3543, allocations: 19.92 kB / 1.37 GB, free: 7.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.3548, allocations: 170.3 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.777e-05/0.3548, allocations: 75.45 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.3549, allocations: 7.438 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3549, allocations: 0 / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of Templates: time 0.003216/0.3581, allocations: 1.176 MB / 1.371 GB, free: 6.383 MB / 1.061 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/jenkins1/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: 11.162617758382112]