Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.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.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1.T|senTem2.T|senTem3.T|sla1.surf_a.T|sla2.surf_a.T|sla3.surf_a.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU") translateModel(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1.T|senTem2.T|senTem3.T|sla1.surf_a.T|sla2.surf_a.T|sla3.surf_a.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU") [: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.99/1.99, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001179/0.001179, allocations: 186.9 kB / 490.8 MB, free: 1.973 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.393/1.393, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0009671/0.0009671, allocations: 86.67 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.005e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3002, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.351, allocations: 477.9 MB / 1.678 GB, free: 2.539 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.351, allocations: 96.62 kB / 1.678 GB, free: 2.492 MB / 1.089 GB Notification: Performance of FrontEnd: time 4.643/5.995, allocations: 1.284 GB / 2.962 GB, free: 82.95 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001347/5.996, allocations: 150.8 kB / 2.962 GB, free: 82.81 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: 688 * Number of variables: 688 Notification: Performance of Generate backend data structure: time 0.01879/6.015, allocations: 5.664 MB / 2.968 GB, free: 77.16 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/6.015, allocations: 12.03 kB / 2.968 GB, free: 77.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004843/6.02, allocations: 0.7219 MB / 2.969 GB, free: 76.41 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07583/6.096, allocations: 31.99 MB / 3 GB, free: 44.74 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/6.096, allocations: 87.91 kB / 3 GB, free: 44.66 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/6.097, allocations: 211.9 kB / 3 GB, free: 44.45 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005481/6.103, allocations: 3.083 MB / 3.003 GB, free: 41.36 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00527/6.108, allocations: 3.715 MB / 3.007 GB, free: 37.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-05/6.108, allocations: 3.938 kB / 3.007 GB, free: 37.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/6.109, allocations: 8 kB / 3.007 GB, free: 37.47 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.927e-05/6.109, allocations: 117 kB / 3.007 GB, free: 37.36 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/6.138, allocations: 21.54 MB / 3.028 GB, free: 15.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/6.141, allocations: 2.701 MB / 3.031 GB, free: 12.43 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/6.143, allocations: 1.589 MB / 3.032 GB, free: 10.84 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/6.16, allocations: 9.73 MB / 3.042 GB, free: 0.5625 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002132/6.162, allocations: 1.407 MB / 3.043 GB, free: 15.13 MB / 1.167 GB Notification: Performance of pre-optimization done (n=171): time 4.689e-06/6.162, allocations: 0 / 3.043 GB, free: 15.13 MB / 1.167 GB Notification: Performance of matching and sorting (n=171): time 0.007328/6.169, allocations: 3.005 MB / 3.046 GB, free: 12.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/6.169, allocations: 124.8 kB / 3.046 GB, free: 11.95 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01691/6.186, allocations: 7.991 MB / 3.054 GB, free: 3.969 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/6.187, allocations: 29.7 kB / 3.054 GB, free: 3.934 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003081/6.19, allocations: 1.484 MB / 3.055 GB, free: 2.434 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002886/6.193, allocations: 0.6122 MB / 3.056 GB, free: 1.812 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/6.194, allocations: 0 / 3.056 GB, free: 1.812 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004195/6.194, allocations: 469.1 kB / 3.057 GB, free: 1.348 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/6.197, allocations: 2.017 MB / 3.058 GB, free: 15.33 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003956/6.201, allocations: 3.566 MB / 3.062 GB, free: 11.02 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00466/6.206, allocations: 2.718 MB / 3.065 GB, free: 8.305 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.33e-05/6.206, allocations: 16 kB / 3.065 GB, free: 8.289 MB / 1.182 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.01302/6.219, allocations: 5.973 MB / 3.07 GB, free: 2.293 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.632/6.851, allocations: 24.78 MB / 3.095 GB, free: 240.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/6.851, allocations: 49.84 kB / 3.095 GB, free: 240.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009116/6.852, allocations: 256.3 kB / 3.095 GB, free: 240.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/6.856, allocations: 0.9219 MB / 3.096 GB, free: 240.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/6.859, allocations: 4.681 MB / 3.1 GB, free: 236.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009359/6.868, allocations: 1.179 MB / 3.102 GB, free: 236.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/6.87, allocations: 187.9 kB / 3.102 GB, free: 236.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/6.87, allocations: 3.531 kB / 3.102 GB, free: 236.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008821/6.878, allocations: 5.387 MB / 3.107 GB, free: 236.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/6.879, allocations: 53.62 kB / 3.107 GB, free: 236.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/6.879, allocations: 249.2 kB / 3.107 GB, free: 236.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/6.883, allocations: 0.9267 MB / 3.108 GB, free: 236.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/6.886, allocations: 4.666 MB / 3.113 GB, free: 233.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008854/6.895, allocations: 1.101 MB / 3.114 GB, free: 233.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009241/6.895, allocations: 185.3 kB / 3.114 GB, free: 233.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * 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 (433): * Single equations (assignments): 429 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009224/6.896, allocations: 234.5 kB / 3.114 GB, free: 233.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002151/6.899, allocations: 0.5425 MB / 3.115 GB, free: 233.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006528/6.905, allocations: 3.375 MB / 3.118 GB, free: 232.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/6.905, allocations: 21.28 kB / 3.118 GB, free: 232.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/6.905, allocations: 8.625 kB / 3.118 GB, free: 232.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003389/6.909, allocations: 2.799 MB / 3.121 GB, free: 232.4 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/6.926, allocations: 9.524 MB / 3.13 GB, free: 231.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/6.926, allocations: 7.828 kB / 3.13 GB, free: 231.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/6.928, allocations: 420.5 kB / 3.131 GB, free: 231.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/6.928, allocations: 192.6 kB / 3.131 GB, free: 231.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/6.929, allocations: 68.53 kB / 3.131 GB, free: 231.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/6.931, allocations: 4.579 MB / 3.135 GB, free: 228.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/6.931, allocations: 0 / 3.135 GB, free: 228.2 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007764/6.939, allocations: 4.796 MB / 3.14 GB, free: 227.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00694/6.946, allocations: 4.789 MB / 3.145 GB, free: 224.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002761/6.949, allocations: 55.23 kB / 3.145 GB, free: 224.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006247/6.955, allocations: 0.5369 MB / 3.145 GB, free: 224.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004759/6.956, allocations: 98.66 kB / 3.145 GB, free: 224.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003594/6.956, allocations: 68.44 kB / 3.145 GB, free: 224.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.01316/6.969, allocations: 5.884 MB / 3.151 GB, free: 223.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01764/6.987, allocations: 3.19 MB / 3.154 GB, free: 223.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (sla1.vol[1].dynBal.U,sla1.con_a[1].lay[1].T[1],sla1.con_a[1].lay[1].T[2],sla1.con_a[1].lay[1].T[3],sla1.con_a[1].lay[1].T[4],sla1.con_a[1].lay[1].T[5],sla1.con_b[1].lay[1].T[1],sla1.con_b[1].lay[2].T[1],sla1.con_b[1].lay[2].T[2],sla2.vol[1].dynBal.U,sla2.con_a[1].lay[1].T[1],sla2.con_a[1].lay[1].T[2],sla2.con_a[1].lay[1].T[3],sla2.con_a[1].lay[1].T[4],sla2.con_a[1].lay[1].T[5],sla2.con_b[1].lay[1].T[1],sla2.con_b[1].lay[2].T[1],sla2.con_b[1].lay[2].T[2],sla3.sla.vol[1].dynBal.U,sla3.sla.con_a[1].lay[1].T[1],sla3.sla.con_a[1].lay[1].T[2],sla3.sla.con_a[1].lay[1].T[3],sla3.sla.con_a[1].lay[1].T[4],sla3.sla.con_a[1].lay[1].T[5],sla3.sla.con_b[1].lay[1].T[1],sla3.sla.con_b[1].lay[2].T[1],sla3.sla.con_b[1].lay[2].T[2],senTem1.T,senTem2.T,senTem3.T) * 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 (172): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005234/6.992, allocations: 1.743 MB / 3.156 GB, free: 223.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01318/7.005, allocations: 7.515 MB / 3.163 GB, free: 222.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/7.005, allocations: 0 / 3.163 GB, free: 222.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002687/7.008, allocations: 1.63 MB / 3.165 GB, free: 222.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01333/7.022, allocations: 2.091 MB / 3.167 GB, free: 222.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/7.059, allocations: 12.34 MB / 3.179 GB, free: 220.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01183/7.07, allocations: 4.856 MB / 3.184 GB, free: 219.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.162e-06/7.07, allocations: 0 / 3.184 GB, free: 219.7 MB / 1.182 GB Notification: Performance of Templates: time 0.1975/7.268, allocations: 125.3 MB / 3.306 GB, free: 214.6 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches