Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.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.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") [: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.977/1.977, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001137/0.001137, allocations: 185.2 kB / 490.8 MB, free: 1.949 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.42/1.42, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.0009445/0.0009443, allocations: 102.7 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.242e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2746, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.804/4.078, allocations: 1.737 GB / 2.949 GB, free: 103.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/4.079, allocations: 86.08 kB / 2.949 GB, free: 103.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1687/4.247, allocations: 78.08 MB / 3.025 GB, free: 30.29 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001234/4.248, allocations: 28 kB / 3.025 GB, free: 30.27 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.003394/4.251, allocations: 1.387 MB / 3.027 GB, free: 28.82 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/4.251, allocations: 8.031 kB / 3.027 GB, free: 28.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008683/4.26, allocations: 1.528 MB / 3.028 GB, free: 27.29 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/4.262, allocations: 0.8988 MB / 3.029 GB, free: 26.34 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.9e-05/4.262, allocations: 36 kB / 3.029 GB, free: 26.31 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004663/4.263, allocations: 68 kB / 3.029 GB, free: 26.24 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004231/4.267, allocations: 2.105 MB / 3.031 GB, free: 24.13 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/4.27, allocations: 1.533 MB / 3.033 GB, free: 22.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/4.27, allocations: 0 / 3.033 GB, free: 22.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/4.271, allocations: 4 kB / 3.033 GB, free: 22.54 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/4.271, allocations: 28 kB / 3.033 GB, free: 22.51 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009913/4.281, allocations: 4.747 MB / 3.037 GB, free: 17.67 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/4.283, allocations: 1.937 MB / 3.039 GB, free: 15.73 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/4.285, allocations: 0.7732 MB / 3.04 GB, free: 14.95 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/4.285, allocations: 0.6099 MB / 3.041 GB, free: 14.21 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001483/4.287, allocations: 1.002 MB / 3.042 GB, free: 13.19 MB / 1.151 GB Notification: Performance of pre-optimization done (n=121): time 6.202e-06/4.287, allocations: 0 / 3.042 GB, free: 13.19 MB / 1.151 GB Notification: Performance of matching and sorting (n=121): time 0.004015/4.291, allocations: 1.678 MB / 3.043 GB, free: 11.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/4.291, allocations: 248.3 kB / 3.043 GB, free: 11.21 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/4.292, allocations: 0.6012 MB / 3.044 GB, free: 10.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/4.292, allocations: 25.7 kB / 3.044 GB, free: 10.57 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/4.293, allocations: 380.4 kB / 3.044 GB, free: 10.19 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/4.293, allocations: 382.2 kB / 3.045 GB, free: 9.812 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/4.293, allocations: 0 / 3.045 GB, free: 9.812 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001733/4.293, allocations: 394.7 kB / 3.045 GB, free: 9.418 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009734/4.294, allocations: 0.6858 MB / 3.046 GB, free: 8.73 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/4.295, allocations: 0.8218 MB / 3.047 GB, free: 7.871 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/4.297, allocations: 0.7017 MB / 3.047 GB, free: 7.164 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/4.297, allocations: 7.938 kB / 3.047 GB, free: 7.156 MB / 1.151 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003427/4.3, allocations: 1.706 MB / 3.049 GB, free: 5.441 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/4.3, allocations: 4 kB / 3.049 GB, free: 5.438 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/4.3, allocations: 0 / 3.049 GB, free: 5.438 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/4.301, allocations: 84.84 kB / 3.049 GB, free: 5.352 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/4.303, allocations: 495.3 kB / 3.05 GB, free: 4.867 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/4.305, allocations: 1.472 MB / 3.051 GB, free: 3.273 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/4.307, allocations: 323.1 kB / 3.051 GB, free: 2.957 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/4.307, allocations: 55.94 kB / 3.051 GB, free: 2.902 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002884/4.308, allocations: 128.7 kB / 3.051 GB, free: 2.77 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/4.308, allocations: 98.78 kB / 3.052 GB, free: 2.672 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/4.312, allocations: 2.169 MB / 3.054 GB, free: 500 kB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/4.312, allocations: 15.98 kB / 3.054 GB, free: 484 kB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/4.312, allocations: 3.938 kB / 3.054 GB, free: 480 kB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/4.312, allocations: 15.97 kB / 3.054 GB, free: 464 kB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5404/4.853, allocations: 3.825 MB / 3.057 GB, free: 0.5105 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/4.853, allocations: 0 / 3.057 GB, free: 0.5105 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/4.855, allocations: 493.5 kB / 3.058 GB, free: 0.5105 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005522/4.856, allocations: 87.89 kB / 3.058 GB, free: 0.5105 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/4.856, allocations: 37.17 kB / 3.058 GB, free: 0.5105 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/4.858, allocations: 1.496 MB / 3.059 GB, free: 0.5094 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/4.858, allocations: 0 / 3.059 GB, free: 0.5094 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003423/4.861, allocations: 1.886 MB / 3.061 GB, free: 0.5092 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007656/4.862, allocations: 450.8 kB / 3.062 GB, free: 0.5091 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/4.862, allocations: 6.797 kB / 3.062 GB, free: 0.5091 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/4.864, allocations: 296.6 kB / 3.062 GB, free: 0.5091 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/4.864, allocations: 72.64 kB / 3.062 GB, free: 0.5091 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/4.865, allocations: 58.06 kB / 3.062 GB, free: 0.5091 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006147/4.865, allocations: 489.2 kB / 3.063 GB, free: 0.509 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001617/4.867, allocations: 0.5001 MB / 3.063 GB, free: 0.509 GB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 132 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001845/4.869, allocations: 1.08 MB / 3.064 GB, free: 0.5089 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002853/4.872, allocations: 1.741 MB / 3.066 GB, free: 0.5088 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/4.872, allocations: 0 / 3.066 GB, free: 0.5088 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/4.873, allocations: 1.014 MB / 3.067 GB, free: 0.5087 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/4.874, allocations: 220 kB / 3.067 GB, free: 0.5087 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/4.88, allocations: 2.265 MB / 3.069 GB, free: 0.5083 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/4.881, allocations: 1.378 MB / 3.071 GB, free: 0.5076 GB / 1.151 GB Notification: Performance of SimCode: time 9.21e-07/4.881, allocations: 0 / 3.071 GB, free: 0.5076 GB / 1.151 GB Notification: Performance of Templates: time 0.04258/4.924, allocations: 28.5 MB / 3.098 GB, free: 0.5061 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches