Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.219/1.219, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.0009161/0.0009161, allocations: 192.4 kB / 316 MB, free: 3.52 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.072/1.072, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.0007904/0.0007903, allocations: 90.27 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.318e-05/1.321e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1567, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9604/1.117, allocations: 458.5 MB / 1.332 GB, free: 288.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.117, allocations: 99.94 kB / 1.332 GB, free: 288.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.583/4.7, allocations: 1.231 GB / 2.563 GB, free: 36.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001159/4.701, allocations: 135.2 kB / 2.563 GB, free: 36.14 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 684 * Number of variables: 684 Notification: Performance of Generate backend data structure: time 0.01503/4.716, allocations: 5.616 MB / 2.569 GB, free: 30.49 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/4.716, allocations: 8.031 kB / 2.569 GB, free: 30.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/4.72, allocations: 0.7181 MB / 2.569 GB, free: 29.76 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06266/4.783, allocations: 30.31 MB / 2.599 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.601e-05/4.783, allocations: 84 kB / 2.599 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007155/4.783, allocations: 215.9 kB / 2.599 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004896/4.788, allocations: 3.083 MB / 2.602 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00531/4.794, allocations: 3.658 MB / 2.606 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.536e-05/4.794, allocations: 11.84 kB / 2.606 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/4.794, allocations: 4 kB / 2.606 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-05/4.794, allocations: 68 kB / 2.606 GB, free: 8.422 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03024/4.824, allocations: 21.45 MB / 2.627 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3597/5.184, allocations: 2.709 MB / 2.63 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/5.186, allocations: 1.586 MB / 2.631 GB, free: 159.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01418/5.2, allocations: 9.734 MB / 2.641 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/5.202, allocations: 1.398 MB / 2.642 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=171): time 3.877e-06/5.202, allocations: 3.906 kB / 2.642 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=171): time 0.005549/5.208, allocations: 2.993 MB / 2.645 GB, free: 156.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/5.208, allocations: 123 kB / 2.645 GB, free: 156.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/5.219, allocations: 7.961 MB / 2.653 GB, free: 155.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007459/5.22, allocations: 28.95 kB / 2.653 GB, free: 155.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001581/5.221, allocations: 1.475 MB / 2.654 GB, free: 155.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002242/5.224, allocations: 0.6136 MB / 2.655 GB, free: 155.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/5.224, allocations: 0 / 2.655 GB, free: 155.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002029/5.224, allocations: 462.4 kB / 2.655 GB, free: 154.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/5.226, allocations: 2.013 MB / 2.657 GB, free: 154.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/5.229, allocations: 3.559 MB / 2.661 GB, free: 152.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/5.232, allocations: 2.706 MB / 2.663 GB, free: 152.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/5.232, allocations: 17.62 kB / 2.663 GB, free: 152.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.00907/5.241, allocations: 5.96 MB / 2.669 GB, free: 152.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00364/5.245, allocations: 24.51 MB / 2.693 GB, free: 127.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.711e-05/5.245, allocations: 49.56 kB / 2.693 GB, free: 127.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006944/5.246, allocations: 251.6 kB / 2.693 GB, free: 127.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/5.249, allocations: 0.9249 MB / 2.694 GB, free: 127.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/5.252, allocations: 4.668 MB / 2.699 GB, free: 123.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008129/5.26, allocations: 1.184 MB / 2.7 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006546/5.261, allocations: 182.9 kB / 2.7 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/5.261, allocations: 2.969 kB / 2.7 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007448/5.269, allocations: 5.379 MB / 2.706 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.781e-05/5.269, allocations: 53.61 kB / 2.706 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005901/5.269, allocations: 253 kB / 2.706 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/5.272, allocations: 0.9241 MB / 2.707 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/5.275, allocations: 4.668 MB / 2.711 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008011/5.283, allocations: 1.094 MB / 2.712 GB, free: 120 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007661/5.284, allocations: 186.2 kB / 2.713 GB, free: 120 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (431): * Single equations (assignments): 427 * 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.001183/5.285, allocations: 244.3 kB / 2.713 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00203/5.287, allocations: 0.5304 MB / 2.713 GB, free: 119.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006862/5.294, allocations: 3.369 MB / 2.717 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/5.294, allocations: 23.23 kB / 2.717 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/5.294, allocations: 0 / 2.717 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003484/5.298, allocations: 2.797 MB / 2.719 GB, free: 118.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/5.316, allocations: 9.507 MB / 2.729 GB, free: 118.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/5.316, allocations: 2.812 kB / 2.729 GB, free: 118.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/5.318, allocations: 423.8 kB / 2.729 GB, free: 118.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005505/5.318, allocations: 179.1 kB / 2.729 GB, free: 118.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/5.318, allocations: 77.72 kB / 2.729 GB, free: 118.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/5.321, allocations: 4.581 MB / 2.734 GB, free: 114.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/5.321, allocations: 3.812 kB / 2.734 GB, free: 114.8 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00685/5.328, allocations: 4.786 MB / 2.738 GB, free: 114 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005616/5.334, allocations: 4.782 MB / 2.743 GB, free: 110.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/5.336, allocations: 52.39 kB / 2.743 GB, free: 110.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004762/5.34, allocations: 0.5373 MB / 2.744 GB, free: 110.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/5.341, allocations: 103 kB / 2.744 GB, free: 110.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/5.341, allocations: 59.53 kB / 2.744 GB, free: 110.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.007943/5.349, allocations: 5.862 MB / 2.75 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.009421/5.358, allocations: 3.182 MB / 2.753 GB, free: 110.3 MB / 0.9167 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.002758/5.361, allocations: 1.743 MB / 2.754 GB, free: 110 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008655/5.37, allocations: 7.513 MB / 2.762 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/5.37, allocations: 0 / 2.762 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/5.371, allocations: 1.627 MB / 2.763 GB, free: 109 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009212/5.381, allocations: 2.088 MB / 2.765 GB, free: 109 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/5.4, allocations: 12.29 MB / 2.777 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005117/5.405, allocations: 4.83 MB / 2.782 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.012e-06/5.405, allocations: 0 / 2.782 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.178/5.583, allocations: 124.9 MB / 2.904 GB, free: 100.1 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches