Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 165 kB / 24.16 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9431/0.9431, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.969/1.969, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.356e-05, allocations: 3.469 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003374/0.003387, allocations: 3.767 MB / 0.7637 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003153/0.006541, allocations: 2.56 MB / 0.7662 GB, free: 336 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.006811, allocations: 23.81 kB / 0.7662 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.007353, allocations: 260.4 kB / 0.7665 GB, free: 52 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007692/0.008122, allocations: 0.5557 MB / 0.767 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.008913, allocations: 0.5429 MB / 0.7675 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.009951, allocations: 1.419 MB / 0.7689 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.01011, allocations: 102.4 kB / 0.769 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006359/0.01075, allocations: 0.6119 MB / 0.7696 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.0112, allocations: 436.2 kB / 0.77 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.735e-05/0.01127, allocations: 52.66 kB / 0.7701 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.01139, allocations: 67.94 kB / 0.7701 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.01164, allocations: 387.5 kB / 0.7705 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.01185, allocations: 315.9 kB / 0.7708 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.01231, allocations: 0.6275 MB / 0.7714 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.01231, allocations: 0 / 0.7714 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.01231, allocations: 0 / 0.7714 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.01232, allocations: 2.562 kB / 0.7714 GB, free: 10.96 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00108/0.0134, allocations: 1.149 MB / 0.7726 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.577e-05/0.01343, allocations: 8.031 kB / 0.7726 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.01361, allocations: 100.8 kB / 0.7727 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.01411, allocations: 0.4901 MB / 0.7731 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.01414, allocations: 41.72 kB / 0.7732 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.01419, allocations: 53.59 kB / 0.7732 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.01444, allocations: 298.2 kB / 0.7735 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01445, allocations: 4.188 kB / 0.7735 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.01447, allocations: 12.56 kB / 0.7735 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.01448, allocations: 12 kB / 0.7735 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.01459, allocations: 92.56 kB / 0.7736 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.01577, allocations: 1.391 MB / 0.775 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.01638, allocations: 382.1 kB / 0.7753 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/0.01645, allocations: 53.31 kB / 0.7754 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.01646, allocations: 4.234 kB / 0.7754 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.01648, allocations: 38.8 kB / 0.7754 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 1.293e-06/0.01648, allocations: 0 / 0.7754 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0007637/0.01724, allocations: 0.5513 MB / 0.776 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.01727, allocations: 67.28 kB / 0.776 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.01773, allocations: 0.6987 MB / 0.7767 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.01776, allocations: 37.7 kB / 0.7768 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.01788, allocations: 287 kB / 0.777 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.01794, allocations: 115 kB / 0.7771 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.01807, allocations: 162.5 kB / 0.7773 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.01819, allocations: 399.3 kB / 0.7777 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.01827, allocations: 72.8 kB / 0.7777 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.01854, allocations: 475.1 kB / 0.7782 GB, free: 3.605 MB / 0.7292 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/0.01935, allocations: 0.8844 MB / 0.7791 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.01935, allocations: 4 kB / 0.7791 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005363/0.01989, allocations: 0.5082 MB / 0.7796 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.01991, allocations: 18.12 kB / 0.7796 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.01992, allocations: 13.88 kB / 0.7796 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.02007, allocations: 47.66 kB / 0.7796 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.02051, allocations: 250.8 kB / 0.7799 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006645/0.02117, allocations: 1.209 MB / 0.7811 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.02148, allocations: 36.83 kB / 0.7811 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.02151, allocations: 40 kB / 0.7811 GB, free: 352 kB / 0.7292 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.02166, allocations: 197.3 kB / 0.7813 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.02172, allocations: 53.09 kB / 0.7814 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.02177, allocations: 72.42 kB / 0.7814 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.02177, allocations: 0 / 0.7814 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.02178, allocations: 5.594 kB / 0.7814 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.02178, allocations: 0 / 0.7814 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.02256, allocations: 0.6735 MB / 0.7821 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.02256, allocations: 4 kB / 0.7821 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.02283, allocations: 119.7 kB / 0.7822 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.289e-05/0.02292, allocations: 37.22 kB / 0.7823 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.02294, allocations: 8.781 kB / 0.7823 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005155/0.02345, allocations: 1.205 MB / 0.7834 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.02345, allocations: 4 kB / 0.7834 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.02376, allocations: 410.5 kB / 0.7838 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.02388, allocations: 99.39 kB / 0.7839 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.02393, allocations: 9.062 kB / 0.7839 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.02411, allocations: 16 kB / 0.784 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.02415, allocations: 27.89 kB / 0.784 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.02416, allocations: 5.125 kB / 0.784 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002642/0.02443, allocations: 344.5 kB / 0.7843 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02443, allocations: 0 / 0.7843 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004119/0.02484, allocations: 209.6 kB / 0.7845 GB, free: 12.71 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.316e-05/0.02492, allocations: 89.11 kB / 0.7846 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.02536, allocations: 440.3 kB / 0.785 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.02536, allocations: 8 kB / 0.785 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.02574, allocations: 195.3 kB / 0.7852 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.02618, allocations: 175.2 kB / 0.7854 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.02752, allocations: 1.29 MB / 0.7866 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.02763, allocations: 189.8 kB / 0.7868 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.0278, allocations: 85.62 kB / 0.7869 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.02809, allocations: 209.2 kB / 0.7871 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.02809, allocations: 0 / 0.7871 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.01244/0.04054, allocations: 10.38 MB / 0.7972 GB, free: 15.87 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2288086749613285]