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 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.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.001546/0.001546, allocations: 111.5 kB / 16.42 MB, free: 6.512 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.001696/0.001696, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.42/1.42, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001835, allocations: 63.91 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.882/0.8839, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002667/0.8866, allocations: 0.7089 MB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.8884, allocations: 1.131 MB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.8885, allocations: 0 / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.8886, allocations: 7.938 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.8887, allocations: 15.91 kB / 1.228 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005917/0.8893, allocations: 135.3 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.8895, allocations: 123.8 kB / 1.228 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.8896, allocations: 11.97 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.8898, allocations: 51.84 kB / 1.229 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.8899, allocations: 43.83 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.8899, allocations: 15.94 kB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.08e-05/0.89, allocations: 27.98 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.8901, allocations: 11.98 kB / 1.229 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.952e-05/0.8902, allocations: 39.86 kB / 1.229 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.8904, allocations: 136.1 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.8904, allocations: 3.938 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8904, allocations: 0 / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8905, allocations: 0 / 1.229 GB, free: 11.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006407/0.8911, allocations: 396.9 kB / 1.229 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.8912, allocations: 8.031 kB / 1.229 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.8912, allocations: 4.938 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.8914, allocations: 184.3 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.8914, allocations: 4.359 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.8915, allocations: 8.375 kB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.8916, allocations: 42.25 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8916, allocations: 4.188 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.8916, allocations: 7.922 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.8916, allocations: 0 / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.8917, allocations: 15.94 kB / 1.229 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.8922, allocations: 332.8 kB / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.49e-05/0.8923, allocations: 34.5 kB / 1.23 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.8923, allocations: 16.92 kB / 1.23 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.8923, allocations: 0 / 1.23 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.8925, allocations: 63.33 kB / 1.23 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.8925, allocations: 0 / 1.23 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002146/0.8928, allocations: 73.69 kB / 1.23 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.8928, allocations: 55.41 kB / 1.23 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.8929, allocations: 129.8 kB / 1.23 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.893, allocations: 29.7 kB / 1.23 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.893, allocations: 88.14 kB / 1.23 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.8931, allocations: 11.94 kB / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.8931, allocations: 29.7 kB / 1.23 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.8933, allocations: 310.8 kB / 1.231 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.8934, allocations: 43.98 kB / 1.231 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.8935, allocations: 66.42 kB / 1.231 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.8937, allocations: 88.27 kB / 1.231 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.8937, allocations: 3.938 kB / 1.231 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002978/0.894, allocations: 159.2 kB / 1.231 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.894, allocations: 41.77 kB / 1.231 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.8941, allocations: 4 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.8941, allocations: 0 / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.8941, allocations: 11.92 kB / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.8942, allocations: 8 kB / 1.231 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.8944, allocations: 27.91 kB / 1.231 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.8944, allocations: 4 kB / 1.231 GB, free: 8.488 MB / 0.9512 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.0001085/0.8945, allocations: 125.8 kB / 1.231 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.8945, allocations: 3.953 kB / 1.231 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.8946, allocations: 15.89 kB / 1.231 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.8946, allocations: 0 / 1.231 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8946, allocations: 0 / 1.231 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.8946, allocations: 81.06 kB / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.8947, allocations: 0 / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.8947, allocations: 4 kB / 1.231 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.8947, allocations: 7.922 kB / 1.231 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001525/0.8949, allocations: 140.9 kB / 1.231 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001722/0.8951, allocations: 231.1 kB / 1.232 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.786e-05/0.8951, allocations: 20.03 kB / 1.232 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.8952, allocations: 103.6 kB / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of Backend: time 4.21e-07/0.8952, allocations: 0 / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005501/0.8957, allocations: 206.9 kB / 1.232 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005972/0.8963, allocations: 0.6122 MB / 1.232 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of Templates: time 0.004476/0.9008, allocations: 1.39 MB / 1.234 GB, free: 5.461 MB / 0.9512 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