Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 186.5 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008019/0.000802, allocations: 90.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003701, allocations: 15.33 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2349, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.4045, allocations: 131.4 MB / 1.028 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.4048, allocations: 79.95 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002224/0.4071, allocations: 0.7583 MB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4071, allocations: 0 / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4071, allocations: 0 / 1.029 GB, free: 11.44 MB / 0.6823 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.0004839/0.4076, allocations: 355.3 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4077, allocations: 12.03 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.4077, allocations: 3.906 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.4078, allocations: 171 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4079, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.4079, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.4081, allocations: 61.66 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4081, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4081, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4081, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.4084, allocations: 59.89 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.4088, allocations: 256.9 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.409, allocations: 74.53 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.409, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.4093, allocations: 91.44 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.4093, allocations: 3.938 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0004236/0.4097, allocations: 129.5 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.4098, allocations: 59.41 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.4099, allocations: 97 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.4099, allocations: 29.69 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.41, allocations: 88.14 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.41, allocations: 3.906 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.41, allocations: 3.938 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4101, allocations: 326.8 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.4103, allocations: 31.97 kB / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.4104, allocations: 35.97 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.4105, allocations: 31.98 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4105, allocations: 0 / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002865/0.4108, allocations: 110 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4108, allocations: 4 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4108, allocations: 0 / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4108, allocations: 4 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.411, allocations: 19.98 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.411, allocations: 4.062 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.324e-05/0.4111, allocations: 16.17 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.4111, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.425e-05/0.4112, allocations: 117.8 kB / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.4112, allocations: 15.88 kB / 1.031 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.4113, allocations: 7.906 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.4113, allocations: 0 / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4113, allocations: 0 / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4113, allocations: 0 / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.4114, allocations: 181.5 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4114, allocations: 0 / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.4115, allocations: 11.98 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4115, allocations: 3.938 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.4115, allocations: 0 / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4115, allocations: 12 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4115, allocations: 0 / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4118, allocations: 117 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.4119, allocations: 89 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.4119, allocations: 8 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.412, allocations: 11.98 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.4121, allocations: 7.984 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.4121, allocations: 0 / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.834e-05/0.4121, allocations: 91.27 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4121, allocations: 0 / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001819/0.4123, allocations: 12 kB / 1.032 GB, free: 8.402 MB / 0.6823 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001673/0.4125, allocations: 107.2 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.4128, allocations: 67.94 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4128, allocations: 0 / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.4129, allocations: 39.98 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.4131, allocations: 18.28 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.4135, allocations: 134.6 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.4138, allocations: 0.6848 MB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.4138, allocations: 4.25 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.4139, allocations: 15.44 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of SimCode: time 3.8e-07/0.4139, allocations: 3.938 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of Templates: time 0.002711/0.4166, allocations: 0.6854 MB / 1.034 GB, free: 6.594 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches