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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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") [: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 10.0.0-master/package.mo): time 1.708/1.708, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008927/0.0008927, allocations: 187.5 kB / 490.8 MB, free: 1.934 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.061/1.061, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008122/0.0008122, allocations: 99.09 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.761e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1659, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.6119, allocations: 149.5 MB / 1.358 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001628/0.6121, allocations: 72.16 kB / 1.358 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01512/0.6272, allocations: 5.889 MB / 1.363 GB, free: 16.82 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.6273, allocations: 4 kB / 1.363 GB, free: 16.82 MB / 0.823 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.000444/0.6277, allocations: 0.5474 MB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.6277, allocations: 9.406 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.6278, allocations: 28.31 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.628, allocations: 217 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.628, allocations: 4.266 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.6281, allocations: 23.94 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.216e-05/0.6282, allocations: 54.73 kB / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.6283, allocations: 106.6 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.6283, allocations: 1.031 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.6283, allocations: 6.641 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6284, allocations: 2.062 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.6291, allocations: 0.8527 MB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.808e-05/0.6292, allocations: 111.8 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.6293, allocations: 52.02 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.6293, allocations: 1.125 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.6294, allocations: 138.9 kB / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.6295, allocations: 0 / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002648/0.6297, allocations: 147.4 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.6298, allocations: 142.3 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.6299, allocations: 202.4 kB / 1.366 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.63, allocations: 32.45 kB / 1.366 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.6301, allocations: 117.8 kB / 1.366 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.6301, allocations: 32.33 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.6301, allocations: 5.562 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.6302, allocations: 331.8 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.6305, allocations: 127.6 kB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.6307, allocations: 208.7 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.6313, allocations: 169.1 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6313, allocations: 1.156 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009347/0.6322, allocations: 433.2 kB / 1.367 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.6322, allocations: 6.953 kB / 1.367 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6322, allocations: 3.188 kB / 1.367 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6323, allocations: 3.531 kB / 1.367 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.6323, allocations: 22.94 kB / 1.367 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.6323, allocations: 4.766 kB / 1.367 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006288/0.633, allocations: 167.4 kB / 1.368 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.633, allocations: 26.98 kB / 1.368 GB, free: 30.3 MB / 0.8386 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.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.456e-05/0.6331, allocations: 118.2 kB / 1.368 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.6332, allocations: 20.91 kB / 1.368 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.6332, allocations: 19.45 kB / 1.368 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6332, allocations: 6.688 kB / 1.368 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.6332, allocations: 5.156 kB / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.6332, allocations: 2.234 kB / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.6334, allocations: 230.1 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6334, allocations: 1.469 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.6334, allocations: 12.98 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6335, allocations: 2.781 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.6335, allocations: 8.234 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.6335, allocations: 2.578 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6335, allocations: 1.344 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001865/0.6337, allocations: 232.9 kB / 1.368 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.6337, allocations: 91.33 kB / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.6337, allocations: 8.219 kB / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.6338, allocations: 2.375 kB / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.6338, allocations: 18.75 kB / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.6339, allocations: 13.39 kB / 1.368 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001146/0.634, allocations: 156.3 kB / 1.369 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003014/0.6343, allocations: 58.11 kB / 1.369 GB, free: 29.64 MB / 0.8386 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 () * 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 (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.0001158/0.6344, allocations: 120.8 kB / 1.369 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.6348, allocations: 355.4 kB / 1.369 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6348, allocations: 0 / 1.369 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.6349, allocations: 65.3 kB / 1.369 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.6353, allocations: 54.42 kB / 1.369 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.6356, allocations: 235.5 kB / 1.369 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.6359, allocations: 0.7583 MB / 1.37 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.6359, allocations: 0 / 1.37 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of Templates: time 0.006496/0.6424, allocations: 3.757 MB / 1.374 GB, free: 28.27 MB / 0.8386 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 -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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches