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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.002026/0.002026, allocations: 108 kB / 15.61 MB, free: 152 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.002443/0.002443, allocations: 197 kB / 16.53 MB, free: 6.664 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.638/1.638, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.33/3.33, allocations: 472.6 MB / 0.7451 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.91 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3948, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002697/0.3976, allocations: 0.7208 MB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3993, allocations: 1.137 MB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.3994, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.3994, allocations: 7.922 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.683e-05/0.3995, allocations: 15.86 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.4002, allocations: 122.5 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.4004, allocations: 135.8 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.4006, allocations: 8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.4007, allocations: 47.89 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.4008, allocations: 35.84 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.4009, allocations: 12 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.401, allocations: 31.98 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.401, allocations: 7.938 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.4012, allocations: 47.83 kB / 1.071 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.4014, allocations: 131.7 kB / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4014, allocations: 0 / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4014, allocations: 0 / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.4015, allocations: 0 / 1.071 GB, free: 7.984 MB / 0.8262 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.0008414/0.4023, allocations: 393.2 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.4024, allocations: 8.031 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.4025, allocations: 8.938 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.4028, allocations: 184.2 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.4028, allocations: 4.375 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.4028, allocations: 4.375 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.403, allocations: 54.19 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.403, allocations: 192 / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4031, allocations: 3.938 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4031, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.067e-05/0.4031, allocations: 15.98 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.4039, allocations: 328.7 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.404, allocations: 34.52 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.404, allocations: 16.86 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.4041, allocations: 0 / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.4043, allocations: 67.39 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.4043, allocations: 0 / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003353/0.4046, allocations: 73.67 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.4047, allocations: 55.34 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.4049, allocations: 129.8 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.405, allocations: 29.7 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.4051, allocations: 92.12 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.4051, allocations: 7.891 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.4052, allocations: 33.7 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4054, allocations: 322.8 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.4055, allocations: 35.98 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.4056, allocations: 58.56 kB / 1.073 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.4058, allocations: 96.14 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4058, allocations: 0 / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000355/0.4061, allocations: 163.2 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/0.4062, allocations: 43.09 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4062, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.4063, allocations: 4.062 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.4063, allocations: 7.938 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4064, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.4066, allocations: 23.97 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.4067, allocations: 7.984 kB / 1.073 GB, free: 5.457 MB / 0.8262 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 0.0001402/0.4068, allocations: 123.8 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.4068, allocations: 7.906 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.4069, allocations: 11.91 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.4069, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.4069, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4069, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.4071, allocations: 177.6 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4071, allocations: 240 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.4071, allocations: 3.938 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.4071, allocations: 4 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4072, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4072, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.4072, allocations: 8.047 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.4073, allocations: 97.05 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.4074, allocations: 81.02 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.4074, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.4074, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.4075, allocations: 7.984 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4075, allocations: 4 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.4076, allocations: 95.7 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4076, allocations: 0 / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000239/0.4078, allocations: 24 kB / 1.073 GB, free: 4.723 MB / 0.8262 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.0002394/0.4081, allocations: 107.1 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.4083, allocations: 147.3 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4083, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.4084, allocations: 15.94 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.4087, allocations: 22.09 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.4091, allocations: 146 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4094, allocations: 0.6884 MB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.4095, allocations: 0 / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.4095, allocations: 11.44 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of SimCode: time 8.01e-07/0.4095, allocations: 4 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.005276/0.4148, allocations: 1.348 MB / 1.076 GB, free: 2.191 MB / 0.8262 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/jenkins/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