Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001462/0.001462, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001546/0.001546, allocations: 169 kB / 24.28 MB, free: 272 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.994/0.994, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.929/1.929, allocations: 377.8 MB / 0.6239 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.946e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004286/0.004316, allocations: 2.789 MB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.007238, allocations: 2.792 MB / 0.8169 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.007406, allocations: 13.44 kB / 0.8169 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.008488, allocations: 483.5 kB / 0.8174 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.008894, allocations: 313.2 kB / 0.8177 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.009453, allocations: 417.8 kB / 0.8181 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.01054, allocations: 1.539 MB / 0.8196 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.01068, allocations: 70.36 kB / 0.8197 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.01123, allocations: 0.6044 MB / 0.8203 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.01164, allocations: 406.5 kB / 0.8207 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.01169, allocations: 48 kB / 0.8207 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.832e-05/0.01179, allocations: 59.98 kB / 0.8208 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.012, allocations: 307.2 kB / 0.821 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.0122, allocations: 247.4 kB / 0.8213 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.0127, allocations: 0.6035 MB / 0.8219 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01271, allocations: 0 / 0.8219 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.153e-06/0.01271, allocations: 0 / 0.8219 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.01272, allocations: 0 / 0.8219 GB, free: 7.477 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001362/0.01408, allocations: 1.231 MB / 0.8231 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.01411, allocations: 12.69 kB / 0.8231 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.01429, allocations: 100.4 kB / 0.8232 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.01487, allocations: 0.5567 MB / 0.8237 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.0149, allocations: 28.88 kB / 0.8238 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.01495, allocations: 36.38 kB / 0.8238 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.01526, allocations: 259.6 kB / 0.824 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01527, allocations: 192 / 0.824 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.01529, allocations: 12.12 kB / 0.824 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.0153, allocations: 8 kB / 0.8241 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.01544, allocations: 79.83 kB / 0.8241 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.01698, allocations: 1.798 MB / 0.8259 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.01748, allocations: 259.2 kB / 0.8261 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.01756, allocations: 51.66 kB / 0.8262 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.01757, allocations: 4 kB / 0.8262 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.0176, allocations: 41.33 kB / 0.8262 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.0176, allocations: 0 / 0.8262 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0005064/0.0181, allocations: 251.7 kB / 0.8265 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.01814, allocations: 60.12 kB / 0.8265 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007032/0.01884, allocations: 0.8235 MB / 0.8273 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.01886, allocations: 34.3 kB / 0.8274 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.01908, allocations: 403.5 kB / 0.8277 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.01914, allocations: 80.88 kB / 0.8278 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.01927, allocations: 151.9 kB / 0.828 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.01945, allocations: 0.5977 MB / 0.8286 GB, free: 408 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.01955, allocations: 49.28 kB / 0.8286 GB, free: 360 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.01981, allocations: 466.9 kB / 0.829 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.02021, allocations: 0.5515 MB / 0.8296 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.02021, allocations: 8 kB / 0.8296 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005583/0.02077, allocations: 476.9 kB / 0.83 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.02079, allocations: 12 kB / 0.8301 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.0208, allocations: 8.062 kB / 0.8301 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/0.02101, allocations: 55.64 kB / 0.8301 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.02126, allocations: 147.7 kB / 0.8303 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007823/0.02205, allocations: 1.767 MB / 0.832 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.02239, allocations: 127.4 kB / 0.8321 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.02241, allocations: 24 kB / 0.8321 GB, free: 12.25 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0001241/0.02253, allocations: 196.3 kB / 0.8323 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.0226, allocations: 67.58 kB / 0.8324 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.02265, allocations: 53.86 kB / 0.8324 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.02265, allocations: 4 kB / 0.8324 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.02266, allocations: 0 / 0.8324 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.02266, allocations: 8 kB / 0.8324 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.02307, allocations: 496.2 kB / 0.8329 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02308, allocations: 0 / 0.8329 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.02321, allocations: 55.89 kB / 0.833 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.02332, allocations: 31.66 kB / 0.833 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.02334, allocations: 11.98 kB / 0.833 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006587/0.024, allocations: 1.748 MB / 0.8347 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.024, allocations: 0 / 0.8347 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.02434, allocations: 395.2 kB / 0.8351 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.02448, allocations: 119.5 kB / 0.8352 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.02453, allocations: 15.98 kB / 0.8352 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.02472, allocations: 39.92 kB / 0.8353 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.02476, allocations: 20.09 kB / 0.8353 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.02477, allocations: 4 kB / 0.8353 GB, free: 8.82 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003954/0.02516, allocations: 478.9 kB / 0.8357 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4e-08/0.02516, allocations: 0 / 0.8357 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003814/0.02555, allocations: 183.8 kB / 0.8359 GB, free: 8.176 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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 9.475e-05/0.02564, allocations: 103.2 kB / 0.836 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004468/0.02609, allocations: 419.8 kB / 0.8364 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.02609, allocations: 0 / 0.8364 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.02623, allocations: 238.9 kB / 0.8366 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.02671, allocations: 158.7 kB / 0.8368 GB, free: 7.23 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.0281, allocations: 1.165 MB / 0.8379 GB, free: 6.031 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.02821, allocations: 193.2 kB / 0.8381 GB, free: 5.82 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.02843, allocations: 144.5 kB / 0.8383 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.02851, allocations: 36.5 kB / 0.8383 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of SimCode: time 8.71e-07/0.02851, allocations: 0 / 0.8383 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of Templates: time 0.01039/0.0389, allocations: 8.757 MB / 0.8468 GB, free: 13.09 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.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.3921048601623625]