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.001495/0.001495, allocations: 109.1 kB / 16.37 MB, free: 6.477 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.001682/0.001682, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.489/1.489, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.588/2.588, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 68.16 kB / 0.8774 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3705, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003149/0.3737, allocations: 0.9749 MB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.3764, allocations: 1.432 MB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.3767, allocations: 4 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.668e-05/0.3768, allocations: 11.81 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.3771, allocations: 55.5 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.3787, allocations: 441.1 kB / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008483/0.3796, allocations: 0.5185 MB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.3798, allocations: 45.66 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003965/0.3802, allocations: 187.5 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.3806, allocations: 163.4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.3807, allocations: 48 kB / 1.031 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.3809, allocations: 63.98 kB / 1.031 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.381, allocations: 39.8 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.3813, allocations: 163.5 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.3819, allocations: 0.4906 MB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3819, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.995e-06/0.3819, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.3819, allocations: 0 / 1.031 GB, free: 13.45 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.001095/0.383, allocations: 0.6301 MB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3831, allocations: 12.03 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.3832, allocations: 28.66 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.3835, allocations: 227 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.3835, allocations: 20.31 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.3836, allocations: 20.38 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.3838, allocations: 121.6 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3839, allocations: 192 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.3839, allocations: 7.922 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.3839, allocations: 4 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.384, allocations: 59.91 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3853, allocations: 0.8756 MB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3855, allocations: 114.4 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/0.3856, allocations: 59.42 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.3856, allocations: 7.938 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.3859, allocations: 166.7 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3859, allocations: 0 / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0005396/0.3864, allocations: 233.2 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/0.3865, allocations: 136.5 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.3869, allocations: 244.9 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.3869, allocations: 33.7 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.3871, allocations: 132.4 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.3871, allocations: 35.61 kB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.3873, allocations: 89.64 kB / 1.034 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3875, allocations: 334.8 kB / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.3878, allocations: 144.2 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.3882, allocations: 227.3 kB / 1.035 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.3887, allocations: 365 kB / 1.035 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3887, allocations: 0 / 1.035 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009864/0.3897, allocations: 0.5584 MB / 1.036 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.3898, allocations: 130.8 kB / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3898, allocations: 4 kB / 1.036 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3898, allocations: 4 kB / 1.036 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.3899, allocations: 15.92 kB / 1.036 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.39, allocations: 4 kB / 1.036 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/0.3906, allocations: 115.9 kB / 1.036 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.3907, allocations: 31.97 kB / 1.036 GB, free: 7.82 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.0001779/0.3908, allocations: 154.5 kB / 1.036 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3909, allocations: 19.81 kB / 1.036 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.3909, allocations: 21.23 kB / 1.036 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.391, allocations: 4.938 kB / 1.036 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.391, allocations: 0 / 1.036 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.391, allocations: 7.938 kB / 1.036 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3912, allocations: 257.4 kB / 1.037 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3913, allocations: 7.984 kB / 1.037 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.3913, allocations: 15.94 kB / 1.037 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3913, allocations: 0 / 1.037 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3913, allocations: 11.94 kB / 1.037 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3913, allocations: 0 / 1.037 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.3914, allocations: 7.984 kB / 1.037 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3917, allocations: 226.5 kB / 1.037 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.3917, allocations: 108.8 kB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.3918, allocations: 0 / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.644e-05/0.3918, allocations: 12 kB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.3919, allocations: 11.92 kB / 1.037 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3919, allocations: 15.98 kB / 1.037 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001508/0.3921, allocations: 164.4 kB / 1.037 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3921, allocations: 0 / 1.037 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000346/0.3924, 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.0001764/0.3926, allocations: 108.2 kB / 1.037 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000754/0.3934, allocations: 0.5286 MB / 1.038 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3934, allocations: 4 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.3935, allocations: 59.92 kB / 1.038 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.394, allocations: 68.81 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.0006867/0.3947, allocations: 330.9 kB / 1.038 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.395, allocations: 0.7359 MB / 1.039 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.012e-05/0.3951, allocations: 17.55 kB / 1.039 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.3952, allocations: 15.44 kB / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3952, allocations: 4 kB / 1.039 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of Templates: time 0.01064/0.4058, allocations: 4.565 MB / 1.044 GB, free: 152 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 gbode -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