Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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 9.1.1-maint.9.1.x/package.mo): time 1.986/1.986, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001045/0.001045, allocations: 177.3 kB / 487 MB, free: 5.305 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.385/1.385, allocations: 221.3 MB / 0.7819 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 91.5 kB / 0.9213 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.576e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3085, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.741/4.049, allocations: 1.735 GB / 2.94 GB, free: 123.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/4.05, allocations: 91.94 kB / 2.94 GB, free: 123.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1619/4.212, allocations: 79.05 MB / 3.018 GB, free: 43.87 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.754e-05/4.212, allocations: 35.94 kB / 3.018 GB, free: 43.84 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.002214/4.214, allocations: 1.351 MB / 3.019 GB, free: 42.43 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/4.214, allocations: 17.03 kB / 3.019 GB, free: 42.41 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008158/4.222, allocations: 1.528 MB / 3.02 GB, free: 40.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/4.224, allocations: 0.8208 MB / 3.021 GB, free: 40.02 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/4.224, allocations: 36 kB / 3.021 GB, free: 39.98 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/4.224, allocations: 71.98 kB / 3.021 GB, free: 39.91 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002649/4.227, allocations: 1.933 MB / 3.023 GB, free: 37.98 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/4.229, allocations: 1.43 MB / 3.025 GB, free: 36.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/4.229, allocations: 0 / 3.025 GB, free: 36.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/4.229, allocations: 4 kB / 3.025 GB, free: 36.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/4.229, allocations: 28 kB / 3.025 GB, free: 36.45 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007494/4.236, allocations: 4.31 MB / 3.029 GB, free: 32.06 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/4.239, allocations: 1.811 MB / 3.031 GB, free: 30.21 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008766/4.239, allocations: 0.6896 MB / 3.031 GB, free: 29.52 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/4.24, allocations: 0.6061 MB / 3.032 GB, free: 28.79 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/4.241, allocations: 0.9164 MB / 3.033 GB, free: 27.85 MB / 1.151 GB Notification: Performance of pre-optimization done (n=120): time 2.735e-06/4.241, allocations: 0 / 3.033 GB, free: 27.85 MB / 1.151 GB Notification: Performance of matching and sorting (n=120): time 0.003008/4.244, allocations: 1.526 MB / 3.034 GB, free: 26.31 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/4.244, allocations: 252.3 kB / 3.034 GB, free: 26.01 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/4.245, allocations: 0.5622 MB / 3.035 GB, free: 25.45 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/4.245, allocations: 29.7 kB / 3.035 GB, free: 25.41 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/4.245, allocations: 364.4 kB / 3.035 GB, free: 25.05 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/4.245, allocations: 382.2 kB / 3.036 GB, free: 24.67 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/4.245, allocations: 0 / 3.036 GB, free: 24.67 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/4.246, allocations: 394.7 kB / 3.036 GB, free: 24.27 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007947/4.246, allocations: 0.5922 MB / 3.037 GB, free: 23.68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/4.247, allocations: 0.7437 MB / 3.037 GB, free: 22.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/4.248, allocations: 0.6353 MB / 3.038 GB, free: 22.27 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/4.248, allocations: 0 / 3.038 GB, free: 22.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002839/4.251, allocations: 1.549 MB / 3.04 GB, free: 20.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/4.251, allocations: 11.92 kB / 3.04 GB, free: 20.69 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/4.251, allocations: 0 / 3.04 GB, free: 20.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/4.252, allocations: 88.83 kB / 3.04 GB, free: 20.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/4.254, allocations: 495.3 kB / 3.04 GB, free: 20.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/4.256, allocations: 1.472 MB / 3.042 GB, free: 18.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/4.258, allocations: 323 kB / 3.042 GB, free: 18.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/4.258, allocations: 55.94 kB / 3.042 GB, free: 18.15 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 (125): * Single equations (assignments): 124 * 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.0002626/4.258, allocations: 128.7 kB / 3.042 GB, free: 18.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/4.258, allocations: 98.86 kB / 3.042 GB, free: 17.92 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/4.262, allocations: 2.009 MB / 3.044 GB, free: 15.89 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/4.262, allocations: 20 kB / 3.044 GB, free: 15.88 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/4.262, allocations: 0 / 3.044 GB, free: 15.88 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/4.262, allocations: 7.969 kB / 3.044 GB, free: 15.87 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005128/4.268, allocations: 3.438 MB / 3.048 GB, free: 12.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/4.268, allocations: 0 / 3.048 GB, free: 12.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/4.27, allocations: 0.4915 MB / 3.048 GB, free: 11.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/4.27, allocations: 84.78 kB / 3.048 GB, free: 11.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/4.271, allocations: 39.92 kB / 3.048 GB, free: 11.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/4.272, allocations: 1.484 MB / 3.05 GB, free: 10.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/4.272, allocations: 0 / 3.05 GB, free: 10.16 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002892/4.275, allocations: 1.736 MB / 3.051 GB, free: 8.402 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005854/4.276, allocations: 411.3 kB / 3.052 GB, free: 7.98 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/4.276, allocations: 3.984 kB / 3.052 GB, free: 7.977 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/4.278, allocations: 299.7 kB / 3.052 GB, free: 7.684 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/4.278, allocations: 77.12 kB / 3.052 GB, free: 7.609 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/4.278, allocations: 59.8 kB / 3.052 GB, free: 7.551 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005053/4.279, allocations: 479.1 kB / 3.053 GB, free: 7.086 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001333/4.28, allocations: 486.7 kB / 3.053 GB, free: 6.609 MB / 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 (134): * Single equations (assignments): 131 * 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.001473/4.281, allocations: 1.081 MB / 3.054 GB, free: 5.633 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002289/4.284, allocations: 1.569 MB / 3.056 GB, free: 4.055 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/4.284, allocations: 0 / 3.056 GB, free: 4.055 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/4.285, allocations: 0.9279 MB / 3.057 GB, free: 3.117 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/4.286, allocations: 222.4 kB / 3.057 GB, free: 2.906 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/4.291, allocations: 2.125 MB / 3.059 GB, free: 0.7461 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3321/4.623, allocations: 1.351 MB / 3.06 GB, free: 0.5119 GB / 1.151 GB Notification: Performance of SimCode: time 7.71e-07/4.623, allocations: 3.5 kB / 3.06 GB, free: 0.5119 GB / 1.151 GB Notification: Performance of Templates: time 0.03449/4.658, allocations: 27.23 MB / 3.087 GB, free: 0.5108 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches