Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001264/0.001264, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 191.4 kB / 16.67 MB, free: 6.57 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.88 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3782, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002185/0.3803, allocations: 0.9698 MB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3824, allocations: 1.435 MB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.3825, allocations: 4 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.089e-05/0.3825, allocations: 19.73 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.3827, allocations: 59.56 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3837, allocations: 442.2 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.3842, allocations: 499 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3843, allocations: 37.61 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.3845, allocations: 179.6 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.3848, allocations: 155.5 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.503e-05/0.3848, allocations: 52 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.385, allocations: 67.92 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.385, allocations: 39.84 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.3852, allocations: 171.4 kB / 1.225 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.3857, allocations: 494.4 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3857, allocations: 8 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3857, allocations: 0 / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3857, allocations: 0 / 1.225 GB, free: 9.266 MB / 0.9825 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.0008172/0.3865, allocations: 0.6339 MB / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3866, allocations: 8.031 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.3867, allocations: 32.8 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3869, allocations: 223.1 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.3869, allocations: 8.375 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.3869, allocations: 28.36 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3871, allocations: 131.2 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3872, allocations: 192 / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3872, allocations: 3.938 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3872, allocations: 7.938 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.3873, allocations: 51.97 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.3883, allocations: 0.8757 MB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.3885, allocations: 126.3 kB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.3886, allocations: 55.42 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3886, allocations: 0 / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.3889, allocations: 178.6 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.3889, allocations: 0 / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004664/0.3894, allocations: 222.1 kB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.3895, allocations: 140.5 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.3898, allocations: 237 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.3899, allocations: 37.7 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.39, allocations: 132.5 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.39, allocations: 35.73 kB / 1.228 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.3902, allocations: 89.66 kB / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3903, allocations: 338.8 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.3906, allocations: 140.2 kB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.391, allocations: 231.3 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.3914, allocations: 365 kB / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3914, allocations: 0 / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008881/0.3923, allocations: 0.5626 MB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.3924, allocations: 142.8 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3924, allocations: 4 kB / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3924, allocations: 4 kB / 1.23 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/0.3925, allocations: 19.94 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3925, allocations: 11.97 kB / 1.23 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.3931, allocations: 123.6 kB / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.3932, allocations: 23.98 kB / 1.23 GB, free: 3.617 MB / 0.9825 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.0001609/0.3933, allocations: 142.6 kB / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.3934, allocations: 23.88 kB / 1.23 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.3934, allocations: 21.25 kB / 1.23 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3934, allocations: 8 kB / 1.23 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3934, allocations: 0 / 1.23 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3934, allocations: 7.922 kB / 1.23 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.3938, allocations: 261.5 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3938, allocations: 0 / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.3938, allocations: 11.94 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3938, allocations: 4 kB / 1.231 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3938, allocations: 3.984 kB / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3938, allocations: 4 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3938, allocations: 0 / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.3941, allocations: 230.2 kB / 1.231 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.016e-05/0.3942, allocations: 92.97 kB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3942, allocations: 4 kB / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.3943, allocations: 7.984 kB / 1.231 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.3944, allocations: 19.92 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3944, allocations: 11.94 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001438/0.3945, allocations: 172.5 kB / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3945, allocations: 0 / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003398/0.3948, allocations: 71.89 kB / 1.231 GB, free: 2.434 MB / 0.9825 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.0001956/0.395, allocations: 115.4 kB / 1.231 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.3957, allocations: 489.8 kB / 1.232 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3957, allocations: 0 / 1.232 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3958, allocations: 55.91 kB / 1.232 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.3963, allocations: 67.73 kB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.3969, allocations: 358.3 kB / 1.232 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3972, allocations: 0.7281 MB / 1.233 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.698e-05/0.3972, allocations: 22.3 kB / 1.233 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.3973, allocations: 15.44 kB / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3973, allocations: 3.938 kB / 1.233 GB, free: 496 kB / 0.9825 GB Notification: Performance of Templates: time 0.008942/0.4062, allocations: 4.587 MB / 1.237 GB, free: 11.96 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches