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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00106/0.00106, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.008736/0.008736, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.1/3.1, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006011/0.0006012, allocations: 14.22 kB / 0.9027 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.4987, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001485/0.5002, allocations: 0.6686 MB / 1.059 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00277/0.503, allocations: 1.494 MB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.5031, allocations: 0 / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.554e-05/0.5032, allocations: 7.875 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.5034, allocations: 43.62 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.5045, allocations: 422.4 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.5049, allocations: 423 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.5051, allocations: 41.67 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.5053, allocations: 147.5 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.5056, allocations: 123.5 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.021e-05/0.5056, allocations: 20 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.5057, allocations: 35.92 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.5058, allocations: 27.84 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.506, allocations: 165.1 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.5068, allocations: 454.8 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5068, allocations: 0 / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.016e-06/0.5068, allocations: 0 / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5069, allocations: 4 kB / 1.063 GB, free: 0.9336 MB / 0.8106 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.0009379/0.5078, allocations: 0.5677 MB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.5079, allocations: 16.03 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.508, allocations: 28.75 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.5082, allocations: 218.9 kB / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.5083, allocations: 20.36 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.575e-05/0.5083, allocations: 24.38 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.5086, allocations: 117.6 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5086, allocations: 192 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.5086, allocations: 11.94 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5087, allocations: 4 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.5088, allocations: 51.91 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.51, allocations: 0.8757 MB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.5102, allocations: 118.4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.5104, allocations: 59.42 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.5104, allocations: 4 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004017/0.5108, allocations: 177.1 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.5108, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004924/0.5113, allocations: 222.1 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.5114, allocations: 144.4 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.5117, allocations: 240.9 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.5118, allocations: 37.7 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.512, allocations: 140.4 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.512, allocations: 23.7 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.693e-05/0.5121, allocations: 41.7 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.5123, allocations: 334.8 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.5126, allocations: 144.2 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.513, allocations: 227.4 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.5135, allocations: 368.9 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5135, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001067/0.5145, allocations: 0.5506 MB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.5147, allocations: 139 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5147, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5147, allocations: 7.938 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5149, allocations: 19.92 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.5149, allocations: 7.984 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/0.5157, allocations: 163.6 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.5158, allocations: 23.98 kB / 1.068 GB, free: 11.38 MB / 0.8262 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.0002069/0.516, allocations: 149.7 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.5161, allocations: 23.7 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.5161, allocations: 25.25 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5162, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.5162, allocations: 4 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.5162, allocations: 7.922 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.5166, allocations: 261.5 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5166, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.5166, allocations: 11.94 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.5166, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.5167, allocations: 7.984 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5167, allocations: 4 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5167, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.517, allocations: 219.2 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.5171, allocations: 92.92 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.5171, allocations: 4 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.5172, allocations: 7.984 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.5173, allocations: 27.86 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.5173, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001571/0.5174, allocations: 172.5 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5174, allocations: 0 / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004/0.5178, allocations: 67.91 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002204/0.5181, allocations: 115.5 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007641/0.5188, allocations: 0.5286 MB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5189, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.519, allocations: 64.7 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.5195, allocations: 64.83 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007281/0.5202, allocations: 383.7 kB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.5206, allocations: 0.7323 MB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.391e-05/0.5207, allocations: 21.48 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.5207, allocations: 23.42 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.5208, allocations: 3.938 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of Templates: time 0.01024/0.531, allocations: 4.352 MB / 1.075 GB, free: 3.867 MB / 0.8262 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/jenkins/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