Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001043/0.001043, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001087/0.001087, allocations: 165 kB / 23.82 MB, free: 0.7383 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 1.097/1.097, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.769/1.769, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.787 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.821e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.006368/0.006386, allocations: 2.796 MB / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006772/0.01316, allocations: 2.801 MB / 0.7925 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.01334, allocations: 11.88 kB / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004265/0.0176, allocations: 488.3 kB / 0.793 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.01811, allocations: 308 kB / 0.7933 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.01878, allocations: 418.6 kB / 0.7937 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004438/0.02322, allocations: 1.541 MB / 0.7952 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.02338, allocations: 68.03 kB / 0.7953 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006945/0.02408, allocations: 0.6004 MB / 0.7959 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.02457, allocations: 407.1 kB / 0.7962 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.495e-05/0.02465, allocations: 48.53 kB / 0.7963 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.02478, allocations: 52 kB / 0.7963 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.02504, allocations: 316.4 kB / 0.7966 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.02529, allocations: 251.4 kB / 0.7969 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.02894, allocations: 0.5957 MB / 0.7975 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.02894, allocations: 5.141 kB / 0.7975 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.02894, allocations: 0 / 0.7975 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.02895, allocations: 4 kB / 0.7975 GB, free: 1.863 MB / 0.7448 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.001613/0.03056, allocations: 1.227 MB / 0.7987 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.0306, allocations: 8.625 kB / 0.7987 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.0308, allocations: 105.2 kB / 0.7988 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003975/0.03478, allocations: 0.5537 MB / 0.7993 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.0348, allocations: 28.31 kB / 0.7993 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.03487, allocations: 40.38 kB / 0.7994 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.03524, allocations: 247.7 kB / 0.7996 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.03525, allocations: 192 / 0.7996 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.03527, allocations: 16.12 kB / 0.7996 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.03528, allocations: 4 kB / 0.7996 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.03546, allocations: 82.88 kB / 0.7997 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.0374, allocations: 1.798 MB / 0.8015 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.03804, allocations: 266.2 kB / 0.8017 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.03814, allocations: 55.66 kB / 0.8018 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.03815, allocations: 0 / 0.8018 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.03818, allocations: 45.39 kB / 0.8018 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.233e-06/0.03818, allocations: 0 / 0.8018 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0005655/0.03875, allocations: 253.3 kB / 0.8021 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.03878, allocations: 55.41 kB / 0.8021 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/0.03957, allocations: 0.8235 MB / 0.8029 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.03959, allocations: 37.7 kB / 0.803 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.03986, allocations: 403.5 kB / 0.8033 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.03993, allocations: 75.38 kB / 0.8034 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.04011, allocations: 152.9 kB / 0.8036 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002692/0.04038, allocations: 0.5977 MB / 0.8041 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.04055, allocations: 50.41 kB / 0.8042 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.04089, allocations: 465.3 kB / 0.8046 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.04132, allocations: 0.5564 MB / 0.8052 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.04132, allocations: 4 kB / 0.8052 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005949/0.04192, allocations: 483 kB / 0.8056 GB, free: 8.895 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.04194, allocations: 8 kB / 0.8056 GB, free: 8.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.04195, allocations: 8 kB / 0.8057 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.04218, allocations: 55.64 kB / 0.8057 GB, free: 8.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.04245, allocations: 135.8 kB / 0.8058 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.04375, allocations: 1.771 MB / 0.8076 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.04408, allocations: 119.4 kB / 0.8077 GB, free: 6.672 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.04411, allocations: 28 kB / 0.8077 GB, free: 6.645 MB / 0.7605 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.0001229/0.04423, allocations: 196.3 kB / 0.8079 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.0443, allocations: 67.56 kB / 0.808 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.04435, allocations: 61.98 kB / 0.808 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.04435, allocations: 0 / 0.808 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.04436, allocations: 4 kB / 0.808 GB, free: 6.309 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.04436, allocations: 3.938 kB / 0.808 GB, free: 6.305 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.04478, allocations: 496.2 kB / 0.8085 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.04478, allocations: 3.984 kB / 0.8085 GB, free: 5.781 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.04491, allocations: 47.91 kB / 0.8085 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.04503, allocations: 47.62 kB / 0.8086 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.04505, allocations: 8 kB / 0.8086 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006609/0.04571, allocations: 1.747 MB / 0.8103 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.04571, allocations: 0 / 0.8103 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.04602, allocations: 393.3 kB / 0.8107 GB, free: 3.402 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.04616, allocations: 123.6 kB / 0.8108 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.0462, allocations: 8 kB / 0.8108 GB, free: 3.273 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.04639, allocations: 39.92 kB / 0.8108 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.04643, allocations: 23.91 kB / 0.8109 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.04643, allocations: 0 / 0.8109 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003996/0.04683, allocations: 479 kB / 0.8113 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.04683, allocations: 0 / 0.8113 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003705/0.0472, allocations: 183.8 kB / 0.8115 GB, free: 2.566 MB / 0.7605 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.145e-05/0.0473, allocations: 111.2 kB / 0.8116 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.04775, allocations: 408.5 kB / 0.812 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.04775, allocations: 4.062 kB / 0.812 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.0479, allocations: 241.4 kB / 0.8122 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.04838, allocations: 160.2 kB / 0.8124 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.04999, allocations: 1.164 MB / 0.8135 GB, free: 432 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.05012, allocations: 197.2 kB / 0.8137 GB, free: 212 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000201/0.05032, allocations: 144.5 kB / 0.8138 GB, free: 64 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.0504, allocations: 36.5 kB / 0.8139 GB, free: 28 kB / 0.7605 GB Notification: Performance of SimCode: time 7.12e-07/0.0504, allocations: 0 / 0.8139 GB, free: 28 kB / 0.7605 GB Notification: Performance of Templates: time 0.01023/0.06064, allocations: 8.759 MB / 0.8224 GB, free: 7.473 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.42350616492331]