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.001599/0.001599, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002639/0.002639, allocations: 197.2 kB / 16.14 MB, free: 6.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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.901/2.901, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 68.58 kB / 0.8984 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3618, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002404/0.3643, allocations: 1.025 MB / 1.053 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3662, allocations: 1.498 MB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.3663, allocations: 4 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.486e-05/0.3664, allocations: 11.86 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.3665, allocations: 43.69 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000951/0.3675, allocations: 408.7 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.3679, allocations: 431.1 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.368, allocations: 41.66 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3682, allocations: 151.5 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3684, allocations: 131.5 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.3684, allocations: 20 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3686, allocations: 31.98 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.3686, allocations: 31.84 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.3688, allocations: 139.4 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.3692, allocations: 474.9 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3692, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3692, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3692, allocations: 0 / 1.056 GB, free: 4.453 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.0008975/0.3701, allocations: 0.634 MB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3702, allocations: 8.031 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3703, allocations: 40.58 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3705, allocations: 215 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.3705, allocations: 12.38 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.3706, allocations: 24.38 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.3708, allocations: 117.6 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3708, allocations: 4.188 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.3709, allocations: 15.92 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3709, allocations: 0 / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.371, allocations: 59.8 kB / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.3721, allocations: 0.8717 MB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.3723, allocations: 126.4 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.3723, allocations: 51.5 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3724, allocations: 0 / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003366/0.3727, allocations: 178.6 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.3727, allocations: 0 / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0004782/0.3732, allocations: 229.9 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.3733, allocations: 132.5 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.3735, allocations: 244.9 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.3736, allocations: 45.62 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3737, allocations: 128.5 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.3738, allocations: 35.59 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.374, allocations: 89.66 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3742, allocations: 334.8 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.3745, allocations: 144.2 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.3748, allocations: 228.4 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.3753, allocations: 364.9 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3753, allocations: 0 / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009051/0.3762, allocations: 0.5586 MB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.814e-05/0.3763, allocations: 134.8 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3763, allocations: 4 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3764, allocations: 4 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.3764, allocations: 11.94 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3765, allocations: 7.938 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/0.3771, allocations: 119.7 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.3772, allocations: 27.97 kB / 1.061 GB, free: 14.82 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.0001783/0.3774, allocations: 150.3 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.3774, allocations: 19.81 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.3775, allocations: 21.23 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.3775, allocations: 8 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3775, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3775, allocations: 7.938 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3778, allocations: 257.4 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3778, allocations: 7.938 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.3778, allocations: 7.984 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3778, allocations: 4 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3779, allocations: 8 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3779, allocations: 0 / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3779, allocations: 0 / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.3782, allocations: 226.1 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.3783, allocations: 96.81 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.3783, allocations: 8 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.025e-05/0.3784, allocations: 4 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.3784, allocations: 15.92 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.3784, allocations: 19.98 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001537/0.3786, allocations: 164.5 kB / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3786, allocations: 0 / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003206/0.3789, allocations: 67.98 kB / 1.062 GB, free: 13.65 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.0002027/0.3791, allocations: 119.4 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006875/0.3798, allocations: 0.5251 MB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3798, allocations: 0 / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.38, allocations: 68.72 kB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.3804, allocations: 60.5 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/0.381, allocations: 396.7 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3813, allocations: 0.7323 MB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.524e-05/0.3814, allocations: 21.53 kB / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.3815, allocations: 23.44 kB / 1.064 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of SimCode: time 4.1e-07/0.3815, allocations: 0 / 1.064 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of Templates: time 0.007805/0.3893, allocations: 4.355 MB / 1.069 GB, free: 7.309 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