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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 249.4 MB / 256.7 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 184.5 kB / 316 MB, free: 3.492 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.503/1.503, allocations: 205.2 MB / 0.5667 GB, free: 15.56 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.001093/0.001093, allocations: 91.39 kB / 0.671 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.949e-06/9.979e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2173, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6198/0.8372, allocations: 131.6 MB / 1.013 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.8375, allocations: 70.39 kB / 1.013 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002227/0.8398, allocations: 469.3 kB / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.8398, allocations: 4 kB / 1.014 GB, free: 6.746 MB / 0.6355 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.0004626/0.8403, allocations: 346.4 kB / 1.014 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.8403, allocations: 8.031 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.8404, allocations: 6.734 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.8405, allocations: 170 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.8405, allocations: 4.188 kB / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.8405, allocations: 3.938 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.25e-05/0.8406, allocations: 11.5 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.8407, allocations: 59.28 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8407, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.8408, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.8408, allocations: 3.906 kB / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.8411, allocations: 223.9 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.594e-05/0.8411, allocations: 33.89 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.549e-05/0.8412, allocations: 15.36 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.8412, allocations: 7.938 kB / 1.015 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.029e-05/0.8413, allocations: 58.81 kB / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.8413, allocations: 0 / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.00016/0.8415, allocations: 49.44 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.8415, allocations: 54.53 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.8416, allocations: 100.9 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.8416, allocations: 29.64 kB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.8417, allocations: 90.8 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.8417, allocations: 15.83 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.8417, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.8418, allocations: 314.1 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.8419, allocations: 14.69 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.8419, allocations: 14.75 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.8419, allocations: 15.48 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8419, allocations: 0 / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000115/0.8421, allocations: 68.02 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.8421, allocations: 12 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.8421, allocations: 0 / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8421, allocations: 0 / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.8422, allocations: 15.98 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.8423, allocations: 0 / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.8424, allocations: 23.89 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.8424, allocations: 0 / 1.015 GB, free: 4.891 MB / 0.6355 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 () * 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 7.458e-05/0.8425, allocations: 108.7 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.8425, allocations: 7.906 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.8425, allocations: 4 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.8425, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.8425, allocations: 4 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8425, allocations: 0 / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.8426, allocations: 140.3 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.8427, allocations: 4 kB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.8427, allocations: 11.98 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.8427, allocations: 7.906 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.8428, allocations: 0 / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8428, allocations: 3.984 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8428, allocations: 0.875 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001031/0.8429, allocations: 80.66 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.8429, allocations: 77.11 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.843, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.8431, allocations: 19.92 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.8431, allocations: 15.7 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.8431, allocations: 0 / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.485e-05/0.8432, allocations: 89.95 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000186/0.8434, allocations: 12 kB / 1.016 GB, free: 4.254 MB / 0.6355 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) * 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.0001484/0.8436, allocations: 102.8 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.8437, allocations: 37.77 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8437, allocations: 3.938 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.8438, allocations: 15.55 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.8439, allocations: 14.94 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.8442, allocations: 79.02 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.8445, allocations: 0.6915 MB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.8445, allocations: 0 / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of Templates: time 0.002697/0.8472, allocations: 0.7754 MB / 1.018 GB, free: 2.52 MB / 0.6355 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