Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.082/2.082, allocations: 387.2 MB / 394.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 188 kB / 487 MB, free: 7.922 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.3 MB / 0.7819 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 95.41 kB / 0.9213 GB, free: 64.91 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.017e-06, allocations: 4 kB / 1.066 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3603, allocations: 142.3 MB / 1.205 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.695/2.055, allocations: 476.7 MB / 1.671 GB, free: 370.9 MB / 1.123 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000399/2.055, allocations: 105.9 kB / 1.671 GB, free: 370.9 MB / 1.123 GB Notification: Performance of FrontEnd: time 4.246/6.301, allocations: 1.284 GB / 2.955 GB, free: 3.957 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.001492/6.303, allocations: 143.8 kB / 2.955 GB, free: 3.816 MB / 1.17 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.6619/6.965, allocations: 5.64 MB / 2.96 GB, free: 241.5 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/6.965, allocations: 15.09 kB / 2.96 GB, free: 241.5 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/6.97, allocations: 0.7198 MB / 2.961 GB, free: 241.2 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08732/7.057, allocations: 31.99 MB / 2.992 GB, free: 239.9 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/7.057, allocations: 84.56 kB / 2.992 GB, free: 239.9 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/7.059, allocations: 212.3 kB / 2.992 GB, free: 239.9 MB / 1.17 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005391/7.064, allocations: 3.083 MB / 2.995 GB, free: 239.9 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005617/7.07, allocations: 3.696 MB / 2.999 GB, free: 239.4 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.218e-05/7.07, allocations: 7.344 kB / 2.999 GB, free: 239.4 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/7.07, allocations: 7.438 kB / 2.999 GB, free: 239.4 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/7.07, allocations: 115.2 kB / 2.999 GB, free: 239.4 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03443/7.105, allocations: 21.5 MB / 3.02 GB, free: 232.4 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/7.108, allocations: 2.706 MB / 3.023 GB, free: 232.3 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/7.111, allocations: 1.593 MB / 3.024 GB, free: 232.3 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01756/7.128, allocations: 9.723 MB / 3.034 GB, free: 229.2 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/7.13, allocations: 1.409 MB / 3.035 GB, free: 229.1 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 5.2e-06/7.13, allocations: 2.781 kB / 3.035 GB, free: 229.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=171): time 0.00726/7.137, allocations: 2.997 MB / 3.038 GB, free: 228.7 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/7.137, allocations: 123.8 kB / 3.038 GB, free: 228.6 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02213/7.16, allocations: 7.987 MB / 3.046 GB, free: 228.2 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0009589/7.161, allocations: 29.52 kB / 3.046 GB, free: 228.2 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.003478/7.164, allocations: 1.471 MB / 3.048 GB, free: 227.7 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.003205/7.167, allocations: 0.6141 MB / 3.048 GB, free: 227.4 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000808/7.168, allocations: 0 / 3.048 GB, free: 227.4 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0005304/7.169, allocations: 461.4 kB / 3.049 GB, free: 227.1 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003759/7.173, allocations: 2.019 MB / 3.051 GB, free: 227.1 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004984/7.178, allocations: 3.559 MB / 3.054 GB, free: 225.2 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005876/7.183, allocations: 2.7 MB / 3.057 GB, free: 225.1 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.991e-05/7.184, allocations: 15.25 kB / 3.057 GB, free: 225.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.0164/7.2, allocations: 5.974 MB / 3.062 GB, free: 224.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.008319/7.208, allocations: 24.55 MB / 3.086 GB, free: 199.6 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002756/7.209, allocations: 50.69 kB / 3.086 GB, free: 199.6 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/7.21, allocations: 262.3 kB / 3.087 GB, free: 199.6 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004847/7.215, allocations: 0.9188 MB / 3.088 GB, free: 199.6 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/7.219, allocations: 4.67 MB / 3.092 GB, free: 196.1 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/7.23, allocations: 1.179 MB / 3.093 GB, free: 195.9 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/7.232, allocations: 182.1 kB / 3.094 GB, free: 195.9 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/7.232, allocations: 3.281 kB / 3.094 GB, free: 195.9 MB / 1.17 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01404/7.246, allocations: 5.384 MB / 3.099 GB, free: 195.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002836/7.246, allocations: 50.47 kB / 3.099 GB, free: 195.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009514/7.247, allocations: 250.3 kB / 3.099 GB, free: 195.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00445/7.252, allocations: 0.9216 MB / 3.1 GB, free: 195.8 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/7.256, allocations: 4.682 MB / 3.105 GB, free: 192.2 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/7.267, allocations: 1.1 MB / 3.106 GB, free: 192.1 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/7.268, allocations: 184.5 kB / 3.106 GB, free: 192.1 MB / 1.17 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.002224/7.27, allocations: 246.8 kB / 3.106 GB, free: 191.9 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003429/7.274, allocations: 0.5353 MB / 3.107 GB, free: 191.6 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/7.284, allocations: 3.365 MB / 3.11 GB, free: 191.5 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/7.284, allocations: 20.41 kB / 3.11 GB, free: 191.4 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/7.284, allocations: 7.5 kB / 3.11 GB, free: 191.4 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00437/7.288, allocations: 2.802 MB / 3.113 GB, free: 190.9 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02552/7.314, allocations: 9.514 MB / 3.122 GB, free: 190.3 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/7.314, allocations: 0 / 3.122 GB, free: 190.3 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/7.317, allocations: 427.8 kB / 3.122 GB, free: 190.3 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008336/7.317, allocations: 184.8 kB / 3.122 GB, free: 190.3 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004268/7.318, allocations: 73.66 kB / 3.123 GB, free: 190.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/7.322, allocations: 4.582 MB / 3.127 GB, free: 186.7 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/7.322, allocations: 7.828 kB / 3.127 GB, free: 186.7 MB / 1.17 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01274/7.334, allocations: 4.789 MB / 3.132 GB, free: 186 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009572/7.344, allocations: 4.786 MB / 3.136 GB, free: 182.6 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003847/7.348, allocations: 49.61 kB / 3.136 GB, free: 182.6 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006901/7.355, allocations: 0.5465 MB / 3.137 GB, free: 182.6 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005795/7.356, allocations: 98.7 kB / 3.137 GB, free: 182.6 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004438/7.356, allocations: 62.56 kB / 3.137 GB, free: 182.6 MB / 1.17 GB Notification: Performance of sort global known variables: time 0.01303/7.369, allocations: 5.88 MB / 3.143 GB, free: 182.4 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.01636/7.385, allocations: 3.181 MB / 3.146 GB, free: 182.1 MB / 1.17 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.004316/7.39, allocations: 1.731 MB / 3.148 GB, free: 181.8 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01222/7.402, allocations: 7.515 MB / 3.155 GB, free: 181 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/7.402, allocations: 0 / 3.155 GB, free: 181 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002494/7.405, allocations: 1.626 MB / 3.157 GB, free: 180.7 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01266/7.417, allocations: 2.09 MB / 3.159 GB, free: 180.7 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/7.451, allocations: 12.31 MB / 3.171 GB, free: 178.8 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01098/7.462, allocations: 4.846 MB / 3.175 GB, free: 178 MB / 1.17 GB Notification: Performance of SimCode: time 1.462e-06/7.462, allocations: 10.84 kB / 3.175 GB, free: 178 MB / 1.17 GB Notification: Performance of Templates: time 0.2379/7.7, allocations: 125.2 MB / 3.298 GB, free: 172.2 MB / 1.17 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches