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 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.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.005507/0.005507, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001191/0.001191, allocations: 191.3 kB / 16.79 MB, free: 5.805 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.644/2.644, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 65.72 kB / 0.8991 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3629, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002504/0.3654, allocations: 0.7753 MB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3673, allocations: 1.159 MB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.3673, allocations: 0 / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.3674, allocations: 3.938 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.3675, allocations: 11.92 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.368, allocations: 119 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3681, allocations: 103.8 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3683, allocations: 19.98 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.3684, allocations: 31.86 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3685, allocations: 35.88 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.3685, allocations: 8 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.753e-05/0.3686, allocations: 23.92 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.3686, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.3687, allocations: 39.84 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.3689, allocations: 103.8 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3689, allocations: 0 / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3689, allocations: 0 / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3689, allocations: 0 / 1.055 GB, free: 5.836 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005574/0.3694, allocations: 393.3 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3695, allocations: 12.03 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.3696, allocations: 12.83 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3697, allocations: 176.2 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3697, allocations: 8.375 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.3698, allocations: 4.375 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3699, allocations: 46.19 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3699, allocations: 192 / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3699, allocations: 7.938 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3699, allocations: 0 / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.741e-05/0.37, allocations: 15.98 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.3704, allocations: 328.8 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.279e-05/0.3705, allocations: 34.45 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.3705, allocations: 16.91 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3706, allocations: 7.938 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.3707, allocations: 67.38 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3708, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002246/0.371, allocations: 73.59 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.371, allocations: 59.34 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3712, allocations: 129.8 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3712, allocations: 25.7 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.3713, allocations: 96.03 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.3713, allocations: 7.906 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.3714, allocations: 33.7 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3715, allocations: 314.8 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.065e-05/0.3716, allocations: 39.98 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.215e-05/0.3717, allocations: 54.56 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3718, allocations: 96.14 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3718, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002804/0.3721, allocations: 159.3 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.3722, allocations: 39.25 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3722, allocations: 4.141 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3722, allocations: 4 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.3723, allocations: 4 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.3723, allocations: 7.922 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.3725, allocations: 35.86 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.3725, allocations: 4 kB / 1.057 GB, free: 3.297 MB / 0.8106 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 9.539e-05/0.3726, allocations: 117.8 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.3726, allocations: 8 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.3727, allocations: 3.906 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3727, allocations: 3.984 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3727, allocations: 4 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3727, allocations: 0 / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.3728, allocations: 173.6 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3728, allocations: 0 / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/0.3729, allocations: 7.938 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3729, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3729, allocations: 3.984 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3729, allocations: 4 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3729, allocations: 64 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.373, allocations: 100.9 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.3731, allocations: 81.02 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.3731, allocations: 7.984 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.3731, allocations: 0 / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.3732, allocations: 0 / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3732, allocations: 4 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.3732, allocations: 103.6 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3732, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002178/0.3735, allocations: 20 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001779/0.3737, allocations: 115.1 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3739, allocations: 127.4 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3739, allocations: 0 / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.3739, allocations: 23.94 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3742, allocations: 21.64 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.3745, allocations: 173.5 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.3748, allocations: 0.6809 MB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.3748, allocations: 19.44 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3748, allocations: 0 / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of Templates: time 0.002779/0.3776, allocations: 1.14 MB / 1.06 GB, free: 208 kB / 0.8106 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