Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001565, allocations: 115.5 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 183.9 kB / 17.34 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 67.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002519/1.073, allocations: 0.7333 MB / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001808/1.075, allocations: 1.135 MB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/1.075, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/1.075, allocations: 3.938 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.499e-05/1.076, allocations: 15.91 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/1.076, allocations: 135 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000185/1.076, allocations: 127.8 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/1.076, allocations: 8 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/1.076, allocations: 51.83 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/1.077, allocations: 39.89 kB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/1.077, allocations: 16 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/1.077, allocations: 31.98 kB / 1.17 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/1.077, allocations: 11.92 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/1.077, allocations: 43.84 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/1.077, allocations: 128.2 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.077, allocations: 0 / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.189e-06/1.077, allocations: 0 / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.077, allocations: 3.938 kB / 1.17 GB, free: 1.383 MB / 0.8887 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.000648/1.078, allocations: 393 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/1.078, allocations: 8.625 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/1.078, allocations: 24.89 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/1.078, allocations: 180.2 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/1.078, allocations: 4.375 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/1.078, allocations: 4.375 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/1.078, allocations: 46.25 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.078, allocations: 192 / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/1.078, allocations: 3.938 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.078, allocations: 3.938 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/1.078, allocations: 12 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/1.079, allocations: 328.8 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/1.079, allocations: 34.5 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/1.079, allocations: 12.92 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/1.079, allocations: 0 / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/1.079, allocations: 75.27 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/1.079, allocations: 4 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002595/1.08, allocations: 77.61 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/1.08, allocations: 51.41 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/1.08, allocations: 125.8 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/1.08, allocations: 29.7 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/1.08, allocations: 92.12 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/1.08, allocations: 7.953 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/1.08, allocations: 29.7 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.08, allocations: 318.8 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/1.08, allocations: 39.97 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/1.08, allocations: 58.5 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/1.081, allocations: 88.27 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.081, allocations: 3.938 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002904/1.081, allocations: 167.2 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/1.081, allocations: 41.69 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.081, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.081, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/1.081, allocations: 4 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/1.081, allocations: 3.938 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/1.081, allocations: 27.91 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/1.081, allocations: 4 kB / 1.172 GB, free: 14.86 MB / 0.9044 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.0001271/1.081, allocations: 129.8 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/1.081, allocations: 3.953 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/1.081, allocations: 11.91 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.081, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.081, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/1.082, allocations: 85.06 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/1.082, allocations: 8 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/1.082, allocations: 3.984 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/1.082, allocations: 4.172 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001427/1.082, allocations: 148.9 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001524/1.082, allocations: 230.8 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.267e-05/1.082, allocations: 12 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.796e-05/1.082, allocations: 103.6 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Backend: time 2.81e-07/1.082, allocations: 0 / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005507/1.083, allocations: 216.4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005206/1.083, allocations: 0.5965 MB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.004265/1.087, allocations: 1.387 MB / 1.175 GB, free: 11.84 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches