Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001537/0.001538, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.646/1.646, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.044/3.044, allocations: 472.7 MB / 0.746 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 67.89 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.078, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002601/1.081, allocations: 0.9547 MB / 1.227 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00194/1.083, allocations: 1.433 MB / 1.229 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/1.083, allocations: 0 / 1.229 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.845e-05/1.083, allocations: 19.73 kB / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/1.083, allocations: 67.56 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/1.085, allocations: 443.7 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006613/1.085, allocations: 0.5147 MB / 1.23 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/1.085, allocations: 49.61 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/1.086, allocations: 187.6 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/1.086, allocations: 159.5 kB / 1.23 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/1.086, allocations: 52 kB / 1.23 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/1.086, allocations: 67.88 kB / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/1.086, allocations: 39.84 kB / 1.23 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/1.087, allocations: 171.4 kB / 1.23 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005692/1.087, allocations: 495.1 kB / 1.231 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.087, allocations: 0 / 1.231 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/1.087, allocations: 0 / 1.231 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.146e-05/1.087, allocations: 0 / 1.231 GB, free: 8.887 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009681/1.088, allocations: 0.6378 MB / 1.231 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.088, allocations: 8.031 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/1.088, allocations: 32.8 kB / 1.232 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/1.089, allocations: 227.1 kB / 1.232 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/1.089, allocations: 12.38 kB / 1.232 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/1.089, allocations: 32.28 kB / 1.232 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/1.089, allocations: 123.8 kB / 1.232 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/1.089, allocations: 8.125 kB / 1.232 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/1.089, allocations: 7.938 kB / 1.232 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.089, allocations: 4 kB / 1.232 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/1.089, allocations: 51.97 kB / 1.232 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009991/1.09, allocations: 0.8757 MB / 1.233 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/1.09, allocations: 118.4 kB / 1.233 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/1.09, allocations: 51.48 kB / 1.233 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/1.09, allocations: 4 kB / 1.233 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/1.091, allocations: 174.6 kB / 1.233 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/1.091, allocations: 0 / 1.233 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0004716/1.091, allocations: 229.4 kB / 1.233 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/1.091, allocations: 136.5 kB / 1.234 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/1.092, allocations: 241 kB / 1.234 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/1.092, allocations: 37.7 kB / 1.234 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/1.092, allocations: 128.5 kB / 1.234 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/1.092, allocations: 35.73 kB / 1.234 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/1.092, allocations: 85.66 kB / 1.234 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.092, allocations: 342.8 kB / 1.234 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/1.092, allocations: 140.2 kB / 1.234 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/1.093, allocations: 226.6 kB / 1.235 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/1.093, allocations: 365 kB / 1.235 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.093, allocations: 3.938 kB / 1.235 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009793/1.094, allocations: 0.5585 MB / 1.236 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.094, allocations: 138.8 kB / 1.236 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.094, allocations: 0 / 1.236 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.094, allocations: 4 kB / 1.236 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/1.094, allocations: 15.94 kB / 1.236 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.094, allocations: 7.984 kB / 1.236 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/1.095, allocations: 119.9 kB / 1.236 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/1.095, allocations: 27.92 kB / 1.236 GB, free: 3.246 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001629/1.095, allocations: 156.8 kB / 1.236 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/1.095, allocations: 19.91 kB / 1.236 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/1.095, allocations: 17.25 kB / 1.236 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.095, allocations: 3.984 kB / 1.236 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.095, allocations: 0 / 1.236 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/1.096, allocations: 101 kB / 1.236 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/1.096, allocations: 7.922 kB / 1.236 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/1.096, allocations: 8 kB / 1.236 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/1.096, allocations: 19.91 kB / 1.236 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004001/1.096, allocations: 470.7 kB / 1.237 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004076/1.097, allocations: 0.5667 MB / 1.237 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001063/1.097, allocations: 67.97 kB / 1.237 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001393/1.097, allocations: 160.5 kB / 1.237 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of Backend: time 5.01e-07/1.097, allocations: 0 / 1.237 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001224/1.098, allocations: 0.5679 MB / 1.238 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009106/1.099, allocations: 0.7981 MB / 1.239 GB, free: 140 kB / 0.9512 GB Notification: Performance of Templates: time 0.009105/1.108, allocations: 4.697 MB / 1.243 GB, free: 11.51 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches