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.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.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.001849/0.001849, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002226/0.002226, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.559/1.559, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.09/3.09, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 70.66 kB / 0.8986 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3888, allocations: 157.4 MB / 1.052 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002582/0.3915, allocations: 1.017 MB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3934, allocations: 1.451 MB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.939e-05/0.3935, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.467e-05/0.3935, allocations: 7.875 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.3937, allocations: 39.69 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009844/0.3947, allocations: 415.4 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005013/0.3952, allocations: 0.5108 MB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.3954, allocations: 45.67 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.3956, allocations: 183.6 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.3958, allocations: 139.5 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.39e-05/0.3958, allocations: 52 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.396, allocations: 63.98 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.396, allocations: 35.84 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.3962, allocations: 171.4 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005376/0.3968, allocations: 494.9 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3968, allocations: 4 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3968, allocations: 4 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3968, allocations: 0 / 1.057 GB, free: 4.09 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.0008922/0.3977, allocations: 0.6261 MB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.3978, allocations: 8.031 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.3979, allocations: 36.64 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.3981, allocations: 223 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.3982, allocations: 12.38 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.3982, allocations: 28.38 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.3984, allocations: 117.6 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3985, allocations: 192 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.3985, allocations: 7.938 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3985, allocations: 4 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3986, allocations: 47.92 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.3996, allocations: 0.8795 MB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.3998, allocations: 126.4 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.3999, allocations: 51.44 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3999, allocations: 7.984 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/0.4003, allocations: 176.9 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.4003, allocations: 0 / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.000471/0.4008, allocations: 229.8 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.4009, allocations: 136.5 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.4012, allocations: 244.8 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.4012, allocations: 37.7 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.4014, allocations: 132.5 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.4014, allocations: 27.61 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.4016, allocations: 93.66 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4017, allocations: 334.8 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.4021, allocations: 144.2 kB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.4024, allocations: 231.3 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.4029, allocations: 365 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4029, allocations: 0 / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009225/0.4038, allocations: 0.5506 MB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.404, allocations: 138.8 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.404, allocations: 4 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.404, allocations: 4 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.4041, allocations: 15.94 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4041, allocations: 4.25 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/0.4048, allocations: 119.6 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/0.4049, allocations: 27.97 kB / 1.062 GB, free: 14.47 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.0001618/0.4051, allocations: 158.2 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.4051, allocations: 19.81 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.4052, allocations: 21.23 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4052, allocations: 11.94 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4052, allocations: 0 / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4052, allocations: 3.938 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.4055, allocations: 261.4 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4055, allocations: 3.984 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.4055, allocations: 11.94 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4055, allocations: 8 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4055, allocations: 0 / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4056, allocations: 4 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4056, allocations: 3.938 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.4059, allocations: 223.3 kB / 1.062 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.4059, allocations: 100.8 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.406, allocations: 8 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.764e-05/0.406, allocations: 0 / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.4061, allocations: 19.92 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.4061, allocations: 7.984 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001526/0.4063, allocations: 168.5 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4063, allocations: 0 / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003156/0.4066, allocations: 67.98 kB / 1.063 GB, free: 13.29 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.0001893/0.4068, allocations: 119.4 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007331/0.4075, allocations: 0.5287 MB / 1.063 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4075, allocations: 0 / 1.063 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.4077, allocations: 68.61 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.4081, allocations: 69.12 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/0.4087, allocations: 398.7 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.4091, allocations: 0.7319 MB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.243e-05/0.4092, allocations: 21.55 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.4092, allocations: 19.44 kB / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4092, allocations: 0 / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of Templates: time 0.01064/0.4199, allocations: 4.54 MB / 1.069 GB, free: 6.754 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