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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001933/0.001933, allocations: 118.6 kB / 16.42 MB, free: 6.5 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.002479/0.002479, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 63.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8756/0.8777, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.003085/0.8809, allocations: 0.7143 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.883, allocations: 1.135 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.8831, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.8832, allocations: 7.938 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.8834, allocations: 19.86 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.884, allocations: 135.1 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.8843, allocations: 135.7 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.8845, allocations: 8 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.8846, allocations: 51.89 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.8847, allocations: 39.83 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.8848, allocations: 12 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.806e-05/0.8849, allocations: 27.98 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.8849, allocations: 7.938 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.885, allocations: 43.84 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.8852, allocations: 131.7 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8852, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8852, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.8852, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 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.0005856/0.8858, allocations: 402.6 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.8859, allocations: 12.03 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.886, allocations: 4.938 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.8861, allocations: 176.2 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.8862, allocations: 4.375 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.8862, allocations: 8.375 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.8863, allocations: 46.19 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.8863, allocations: 192 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.8864, allocations: 3.938 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8864, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.8864, allocations: 16 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.8869, allocations: 328.7 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.733e-05/0.887, allocations: 38.44 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.887, allocations: 12.92 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.887, allocations: 4 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.8872, allocations: 63.39 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.8872, allocations: 0 / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002397/0.8875, allocations: 77.61 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.8875, allocations: 55.39 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.8877, allocations: 125.8 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.8877, allocations: 29.7 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.8878, allocations: 92.12 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.8878, allocations: 11.89 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.8879, allocations: 33.7 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.888, allocations: 318.8 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.8881, allocations: 35.97 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.8882, allocations: 58.55 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.8884, allocations: 96.27 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8884, allocations: 7.938 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002815/0.8887, allocations: 167.1 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.8887, allocations: 39.58 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8887, allocations: 0 / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.8887, allocations: 3.984 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.8888, allocations: 4 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8888, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.889, allocations: 27.91 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.8891, allocations: 12.06 kB / 1.213 GB, free: 8.648 MB / 0.9356 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.202e-05/0.8892, allocations: 117.8 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.8892, allocations: 11.89 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.8892, allocations: 7.906 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8892, allocations: 0 / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8892, allocations: 0 / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.8893, allocations: 81.11 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.8893, allocations: 0 / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.8893, allocations: 3.938 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.8894, allocations: 11.92 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001322/0.8895, allocations: 137 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000167/0.8897, allocations: 238.7 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.151e-05/0.8897, allocations: 11.94 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.8898, allocations: 103.2 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of Backend: time 3.61e-07/0.8898, allocations: 0 / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005247/0.8903, allocations: 213.8 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005397/0.8909, allocations: 0.591 MB / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of Templates: time 0.003979/0.8949, allocations: 1.395 MB / 1.216 GB, free: 5.637 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) 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) Reference file matches