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.001194/0.001194, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001135/0.001135, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 65.12 kB / 0.8774 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4004, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002512/0.403, allocations: 0.7384 MB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.4046, allocations: 1.136 MB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.4047, allocations: 0 / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.4047, allocations: 11.92 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.4048, allocations: 3.938 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006031/0.4054, allocations: 131.5 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.4057, allocations: 131.8 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.4058, allocations: 8 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4059, allocations: 55.84 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.4061, allocations: 47.81 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.4061, allocations: 12 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.4062, allocations: 19.98 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.4062, allocations: 8 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.4063, allocations: 43.84 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.4066, allocations: 135.7 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4066, allocations: 0 / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.158e-06/0.4066, allocations: 3.938 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.4066, allocations: 3.938 kB / 1.029 GB, free: 15.52 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.0007018/0.4073, allocations: 401 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4074, allocations: 8.031 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.4074, allocations: 4.938 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.4076, allocations: 184.2 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.4077, allocations: 8.375 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.4077, allocations: 4.375 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.4078, allocations: 46.23 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.4078, allocations: 192 / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4078, allocations: 3.938 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4078, allocations: 4 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.878e-05/0.4079, allocations: 15.98 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.4084, allocations: 328.7 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/0.4085, allocations: 30.52 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.4085, allocations: 12.92 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.4085, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.4087, allocations: 71.23 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.4087, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002335/0.4089, allocations: 77.67 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.409, allocations: 55.41 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4091, allocations: 117.8 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.4091, allocations: 37.69 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.4092, allocations: 92.05 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.4092, allocations: 3.906 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.4093, allocations: 33.7 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4094, allocations: 322.8 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.4095, allocations: 31.98 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.4096, allocations: 58.5 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.4097, allocations: 96.2 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4098, allocations: 3.938 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002771/0.41, allocations: 159.3 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.4101, allocations: 41.69 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4101, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4101, allocations: 64 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.4102, allocations: 11.94 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.4102, allocations: 0 / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.4104, allocations: 31.94 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.4105, allocations: 11.98 kB / 1.031 GB, free: 12.99 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 0.0001043/0.4106, allocations: 121.7 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.4106, allocations: 4 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.4106, allocations: 7.906 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4106, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4106, allocations: 3.938 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4106, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.4108, allocations: 181.6 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4108, allocations: 4 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.4108, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4109, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4109, allocations: 8 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4109, allocations: 0 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4109, allocations: 0 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.411, allocations: 93.12 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.4111, allocations: 89.02 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.4111, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.4111, allocations: 4.047 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.4112, allocations: 11.97 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.4112, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.341e-05/0.4113, allocations: 103.6 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4113, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000223/0.4115, allocations: 16 kB / 1.032 GB, free: 12.25 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.0002213/0.4117, allocations: 103.2 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.412, allocations: 147.2 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.412, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.4121, allocations: 15.98 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.4124, allocations: 21.3 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.4127, allocations: 138.2 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.4131, allocations: 0.6886 MB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.4131, allocations: 4 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.4131, allocations: 15.38 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.4131, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of Templates: time 0.003982/0.4171, allocations: 1.343 MB / 1.034 GB, free: 9.73 MB / 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 -s cvode -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