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.001486/0.001486, allocations: 106.4 kB / 16.36 MB, free: 6.293 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.001622/0.001622, allocations: 193.5 kB / 17.29 MB, free: 5.859 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.614/2.614, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.7 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3835, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00241/0.386, allocations: 0.9708 MB / 1.028 GB, free: 1.105 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3879, allocations: 1.444 MB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.388, allocations: 8 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.64e-05/0.3881, allocations: 15.75 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.3883, allocations: 51.56 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3893, allocations: 433 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.3899, allocations: 0.5264 MB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.39, allocations: 41.66 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.3902, allocations: 187.6 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.3904, allocations: 163.5 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.232e-05/0.3905, allocations: 48 kB / 1.031 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3907, allocations: 67.92 kB / 1.031 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.3907, allocations: 35.86 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.3909, allocations: 163.5 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.3914, allocations: 0.4946 MB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3914, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3914, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.3914, allocations: 0 / 1.031 GB, free: 13.44 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.0008347/0.3923, allocations: 0.6302 MB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3923, allocations: 12.03 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.3924, allocations: 28.66 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3926, allocations: 230.9 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.3927, allocations: 16.38 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.3927, allocations: 24.38 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3929, allocations: 117.6 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.393, allocations: 4.188 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.393, allocations: 3.938 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.393, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3931, allocations: 63.89 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009389/0.3941, allocations: 0.8717 MB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.3942, allocations: 118.4 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.3943, allocations: 59.48 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.3943, allocations: 0 / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.3946, allocations: 174.6 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.3946, allocations: 4 kB / 1.034 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0005093/0.3951, allocations: 229.2 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3953, allocations: 136.5 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.3955, allocations: 240.9 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.3956, allocations: 37.7 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3957, allocations: 128.5 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.3958, allocations: 31.61 kB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.396, allocations: 93.64 kB / 1.034 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3961, allocations: 338.7 kB / 1.035 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.3965, allocations: 148.2 kB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.3968, allocations: 223.3 kB / 1.035 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.3972, allocations: 369 kB / 1.035 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3972, allocations: 0 / 1.035 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008939/0.3981, allocations: 0.5545 MB / 1.036 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.3982, allocations: 130.8 kB / 1.036 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3982, allocations: 4 kB / 1.036 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.3983, allocations: 4.25 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3984, allocations: 19.92 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3984, allocations: 4 kB / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.399, allocations: 111.7 kB / 1.036 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.3991, allocations: 31.97 kB / 1.036 GB, free: 7.812 MB / 0.8106 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.0001848/0.3993, allocations: 153.7 kB / 1.036 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.3993, allocations: 19.81 kB / 1.036 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.3994, allocations: 21.23 kB / 1.036 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3994, allocations: 4 kB / 1.036 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3994, allocations: 0 / 1.036 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3994, allocations: 7.938 kB / 1.036 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.3997, allocations: 257.4 kB / 1.037 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.3997, allocations: 11.98 kB / 1.037 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.3998, allocations: 12.88 kB / 1.037 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3998, allocations: 0 / 1.037 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3998, allocations: 8 kB / 1.037 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3998, allocations: 4 kB / 1.037 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3998, allocations: 0 / 1.037 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.4001, allocations: 226.2 kB / 1.037 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.4002, allocations: 96.81 kB / 1.037 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.4002, allocations: 8 kB / 1.037 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.4003, allocations: 7.984 kB / 1.037 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.4003, allocations: 15.92 kB / 1.037 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.4003, allocations: 11.98 kB / 1.037 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001504/0.4005, allocations: 168.4 kB / 1.037 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4005, allocations: 3.938 kB / 1.037 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003166/0.4008, allocations: 75.98 kB / 1.037 GB, free: 6.621 MB / 0.8106 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.0001829/0.401, allocations: 108.2 kB / 1.037 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006676/0.4017, allocations: 0.5247 MB / 1.038 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4017, allocations: 4 kB / 1.038 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4018, allocations: 68.41 kB / 1.038 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.4022, allocations: 64.31 kB / 1.038 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.4029, allocations: 342.9 kB / 1.038 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.4032, allocations: 0.732 MB / 1.039 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.859e-05/0.4032, allocations: 21.55 kB / 1.039 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.4033, allocations: 15.44 kB / 1.039 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.4033, allocations: 0 / 1.039 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of Templates: time 0.008901/0.4122, allocations: 4.564 MB / 1.044 GB, free: 148 kB / 0.8106 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 -s cvode -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/jenkins1/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