Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001031/0.001031, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001114/0.001114, allocations: 173 kB / 23.02 MB, free: 1.547 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.9769/0.9769, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.244/2.244, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 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.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.552e-05/3.764e-05, allocations: 4.844 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004214/0.004252, allocations: 2.806 MB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004364/0.008616, allocations: 2.809 MB / 0.8836 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.00911, allocations: 7.938 kB / 0.8836 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.01094, allocations: 488.6 kB / 0.8841 GB, free: 272 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0009594/0.01189, allocations: 301.7 kB / 0.8844 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.01304, allocations: 420.1 kB / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.015, allocations: 1.541 MB / 0.8863 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.01527, allocations: 74.34 kB / 0.8864 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.01649, allocations: 0.6044 MB / 0.8869 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008402/0.01733, allocations: 419 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.01746, allocations: 48 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.01765, allocations: 52 kB / 0.8874 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.01793, allocations: 307.2 kB / 0.8877 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.01824, allocations: 255.4 kB / 0.888 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000835/0.01908, allocations: 0.6036 MB / 0.8886 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.01909, allocations: 0 / 0.8886 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.834e-06/0.01909, allocations: 0 / 0.8886 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.16e-05/0.01911, allocations: 0 / 0.8886 GB, free: 11.67 MB / 0.8542 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.001993/0.0211, allocations: 1.239 MB / 0.8898 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.02115, allocations: 8.031 kB / 0.8898 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.02146, allocations: 100.5 kB / 0.8899 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.02227, allocations: 0.555 MB / 0.8904 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.0223, allocations: 28.88 kB / 0.8904 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.02236, allocations: 40.33 kB / 0.8905 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.02276, allocations: 247.7 kB / 0.8907 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.02277, allocations: 4.188 kB / 0.8907 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.02279, allocations: 12.12 kB / 0.8907 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.02281, allocations: 12 kB / 0.8907 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.02296, allocations: 78.88 kB / 0.8908 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.02514, allocations: 1.798 MB / 0.8926 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.02576, allocations: 255.1 kB / 0.8928 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.02586, allocations: 51.66 kB / 0.8929 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.02588, allocations: 4 kB / 0.8929 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.02592, allocations: 41.7 kB / 0.8929 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 5.55e-06/0.02592, allocations: 7.875 kB / 0.8929 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0006942/0.02662, allocations: 248.7 kB / 0.8932 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.02666, allocations: 55.41 kB / 0.8932 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/0.0275, allocations: 0.8197 MB / 0.894 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.02754, allocations: 33.7 kB / 0.894 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.02781, allocations: 399.5 kB / 0.8944 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.0279, allocations: 87.3 kB / 0.8945 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.02805, allocations: 148 kB / 0.8946 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.02831, allocations: 0.5977 MB / 0.8952 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.02844, allocations: 57.2 kB / 0.8953 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.02878, allocations: 465.3 kB / 0.8957 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005203/0.0293, allocations: 0.5547 MB / 0.8963 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.02931, allocations: 4 kB / 0.8963 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007656/0.03007, allocations: 486.9 kB / 0.8967 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.0301, allocations: 9.875 kB / 0.8967 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.03012, allocations: 12 kB / 0.8968 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.0304, allocations: 56.14 kB / 0.8968 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.0307, allocations: 139.7 kB / 0.8969 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.0319, allocations: 1.759 MB / 0.8987 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.03246, allocations: 127.3 kB / 0.8988 GB, free: 460 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.03249, allocations: 28 kB / 0.8988 GB, free: 432 kB / 0.8542 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.0002051/0.0327, allocations: 196.5 kB / 0.899 GB, free: 224 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.03281, allocations: 67.56 kB / 0.8991 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.473e-05/0.03287, allocations: 57.86 kB / 0.8991 GB, free: 96 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.03288, allocations: 4 kB / 0.8991 GB, free: 92 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.03288, allocations: 3.984 kB / 0.8991 GB, free: 88 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.03289, allocations: 3.938 kB / 0.8991 GB, free: 84 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.03344, allocations: 488.3 kB / 0.8996 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.03345, allocations: 0 / 0.8996 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.03362, allocations: 55.89 kB / 0.8997 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001597/0.03378, allocations: 39.64 kB / 0.8997 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.0338, allocations: 8 kB / 0.8997 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009337/0.03474, allocations: 1.752 MB / 0.9014 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.03474, allocations: 4.031 kB / 0.9014 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.03524, allocations: 391 kB / 0.9018 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.03543, allocations: 119.4 kB / 0.9019 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.03548, allocations: 7.938 kB / 0.9019 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.0357, allocations: 43.92 kB / 0.9019 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.03576, allocations: 19.88 kB / 0.902 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.03577, allocations: 4 kB / 0.902 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004798/0.03625, allocations: 475 kB / 0.9024 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.03625, allocations: 0 / 0.9024 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005628/0.03681, allocations: 183.9 kB / 0.9026 GB, free: 12.35 MB / 0.8698 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 0.0001503/0.03696, allocations: 103.2 kB / 0.9027 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007158/0.03768, allocations: 423 kB / 0.9031 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.03768, allocations: 0 / 0.9031 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.0379, allocations: 244 kB / 0.9033 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.03857, allocations: 170.5 kB / 0.9035 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.04079, allocations: 1.15 MB / 0.9046 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.04096, allocations: 197.2 kB / 0.9048 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003622/0.04132, allocations: 144.5 kB / 0.9049 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.04143, allocations: 36.5 kB / 0.905 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of SimCode: time 2.485e-06/0.04144, allocations: 0 / 0.905 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of Templates: time 0.01603/0.05747, allocations: 9.138 MB / 0.9139 GB, free: 0.8633 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.023154458962381]