Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008695/0.0008695, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009435/0.0009435, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 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.9691/0.9691, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.456/2.456, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.992e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003386/0.003406, allocations: 3.711 MB / 0.8933 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003032/0.006438, allocations: 2.501 MB / 0.8958 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.006664, allocations: 23.81 kB / 0.8958 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005558/0.007219, allocations: 234.4 kB / 0.896 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007116/0.007931, allocations: 0.5635 MB / 0.8966 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.008635, allocations: 0.5648 MB / 0.8971 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009167/0.009552, allocations: 1.425 MB / 0.8985 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.009717, allocations: 101.7 kB / 0.8986 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.0103, allocations: 0.6041 MB / 0.8992 GB, free: 28 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.01074, allocations: 450.8 kB / 0.8996 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.0108, allocations: 52 kB / 0.8997 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.01093, allocations: 71.92 kB / 0.8997 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.01119, allocations: 398.9 kB / 0.9001 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.01138, allocations: 311.3 kB / 0.9004 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.01185, allocations: 0.6264 MB / 0.901 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.01186, allocations: 4 kB / 0.901 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.01e-07/0.01186, allocations: 0 / 0.901 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.01186, allocations: 0 / 0.901 GB, free: 14.14 MB / 0.8698 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.001332/0.0132, allocations: 1.308 MB / 0.9023 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.01323, allocations: 20.56 kB / 0.9023 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.01342, allocations: 136.3 kB / 0.9025 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.01394, allocations: 0.5391 MB / 0.903 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.01396, allocations: 41.03 kB / 0.903 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.01402, allocations: 56.38 kB / 0.9031 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.01428, allocations: 308.9 kB / 0.9034 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.01429, allocations: 192 / 0.9034 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.01431, allocations: 19.94 kB / 0.9034 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.01432, allocations: 8 kB / 0.9034 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.01442, allocations: 92.39 kB / 0.9035 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.0158, allocations: 2.006 MB / 0.9054 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.01635, allocations: 343.8 kB / 0.9058 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.01642, allocations: 68.05 kB / 0.9058 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.01644, allocations: 4.234 kB / 0.9058 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.01646, allocations: 37.62 kB / 0.9059 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 1.983e-06/0.01646, allocations: 4 kB / 0.9059 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.0008067/0.01727, allocations: 0.6065 MB / 0.9065 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.01729, allocations: 59.41 kB / 0.9065 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/0.01787, allocations: 0.8385 MB / 0.9074 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.0179, allocations: 41.7 kB / 0.9074 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.01811, allocations: 451.7 kB / 0.9078 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.01818, allocations: 122.9 kB / 0.9079 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.01833, allocations: 184.2 kB / 0.9081 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003758/0.01871, allocations: 0.5936 MB / 0.9087 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.01879, allocations: 65.88 kB / 0.9088 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.01911, allocations: 0.6491 MB / 0.9094 GB, free: 5 MB / 0.8698 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.0008507/0.01996, allocations: 1.061 MB / 0.9104 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.01997, allocations: 8 kB / 0.9104 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006251/0.02059, allocations: 0.6135 MB / 0.911 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.02061, allocations: 15.94 kB / 0.9111 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.02062, allocations: 16.81 kB / 0.9111 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.02078, allocations: 55.66 kB / 0.9111 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.0211, allocations: 199.6 kB / 0.9113 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007312/0.02183, allocations: 1.74 MB / 0.913 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.02211, allocations: 28 kB / 0.913 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.02214, allocations: 39.98 kB / 0.9131 GB, free: 0.832 MB / 0.8698 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.0001621/0.0223, allocations: 248.1 kB / 0.9133 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.02238, allocations: 87.44 kB / 0.9134 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.02243, allocations: 80.41 kB / 0.9135 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.02243, allocations: 4 kB / 0.9135 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.02244, allocations: 4 kB / 0.9135 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.02244, allocations: 0 / 0.9135 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.02312, allocations: 0.7453 MB / 0.9142 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.02312, allocations: 4 kB / 0.9142 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.0233, allocations: 75.89 kB / 0.9143 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.02342, allocations: 35.78 kB / 0.9143 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.02344, allocations: 11.98 kB / 0.9143 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008365/0.02427, allocations: 1.713 MB / 0.916 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.02427, allocations: 0 / 0.916 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.02465, allocations: 0.4916 MB / 0.9165 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.02479, allocations: 119.4 kB / 0.9166 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.02484, allocations: 8 kB / 0.9166 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.02501, allocations: 11.98 kB / 0.9166 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.02505, allocations: 19.91 kB / 0.9166 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.02506, allocations: 12 kB / 0.9166 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000317/0.02538, allocations: 490.7 kB / 0.9171 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.02538, allocations: 0 / 0.9171 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004116/0.02579, allocations: 204 kB / 0.9173 GB, free: 12.28 MB / 0.8855 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 0.0001017/0.02589, allocations: 115.1 kB / 0.9174 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.02634, allocations: 0.4918 MB / 0.9179 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.02635, allocations: 0 / 0.9179 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.0265, allocations: 265.3 kB / 0.9182 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.02696, allocations: 173.4 kB / 0.9183 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.02839, allocations: 1.387 MB / 0.9197 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.0285, allocations: 189.7 kB / 0.9199 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.02865, allocations: 85.56 kB / 0.9199 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.02893, allocations: 242 kB / 0.9202 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of SimCode: time 7.71e-07/0.02893, allocations: 4 kB / 0.9202 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of Templates: time 0.01149/0.04042, allocations: 10.05 MB / 0.93 GB, free: 15.38 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.57744966680184]