Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.0009453/0.0009453, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001043/0.001043, allocations: 161 kB / 24.17 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 1.011/1.011, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.942/1.942, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.38e-05, allocations: 3.766 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004056/0.00408, allocations: 2.828 MB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003824/0.007903, allocations: 2.809 MB / 0.7655 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.008151, allocations: 11.88 kB / 0.7655 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.009438, allocations: 0.5226 MB / 0.766 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.01001, allocations: 321.7 kB / 0.7663 GB, free: 184 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.01083, allocations: 381.6 kB / 0.7667 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.01237, allocations: 1.508 MB / 0.7682 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.01255, allocations: 78.41 kB / 0.7682 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.01356, allocations: 0.6056 MB / 0.7688 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.01399, allocations: 399.1 kB / 0.7692 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.01405, allocations: 49.5 kB / 0.7693 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.01416, allocations: 63.94 kB / 0.7693 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.01437, allocations: 307.2 kB / 0.7696 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.01456, allocations: 255.4 kB / 0.7699 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.01504, allocations: 0.5887 MB / 0.7704 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.01504, allocations: 0 / 0.7704 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.62e-07/0.01504, allocations: 0.6562 kB / 0.7704 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.01505, allocations: 0.5 kB / 0.7704 GB, free: 11.97 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009007/0.01595, allocations: 0.9402 MB / 0.7714 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.01598, allocations: 12.03 kB / 0.7714 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.01612, allocations: 72.86 kB / 0.7714 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.01657, allocations: 458.2 kB / 0.7719 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.01659, allocations: 28.88 kB / 0.7719 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.01663, allocations: 40.33 kB / 0.7719 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.01685, allocations: 233.5 kB / 0.7722 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.01686, allocations: 0.7812 kB / 0.7722 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.01688, allocations: 16.75 kB / 0.7722 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.01688, allocations: 4 kB / 0.7722 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.01697, allocations: 79.28 kB / 0.7723 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.01797, allocations: 1.107 MB / 0.7733 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.01838, allocations: 269.2 kB / 0.7736 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.01843, allocations: 40.83 kB / 0.7736 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.01844, allocations: 4 kB / 0.7736 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.01846, allocations: 34.56 kB / 0.7737 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.01846, allocations: 2.906 kB / 0.7737 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003018/0.01877, allocations: 177.4 kB / 0.7738 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.01879, allocations: 55.41 kB / 0.7739 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.01919, allocations: 0.5661 MB / 0.7745 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.01921, allocations: 29.7 kB / 0.7745 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01932, allocations: 230 kB / 0.7747 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.01937, allocations: 78.89 kB / 0.7748 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.01946, allocations: 106.3 kB / 0.7749 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.01956, allocations: 382.6 kB / 0.7752 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.01964, allocations: 64.11 kB / 0.7753 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.01982, allocations: 310.4 kB / 0.7756 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/0.02037, allocations: 439.4 kB / 0.776 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.02038, allocations: 8 kB / 0.776 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003873/0.02077, allocations: 384.3 kB / 0.7764 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.02078, allocations: 8 kB / 0.7764 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.02079, allocations: 9.062 kB / 0.7764 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.02092, allocations: 37.64 kB / 0.7764 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.02122, allocations: 156.4 kB / 0.7766 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005741/0.02179, allocations: 1.207 MB / 0.7778 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.02205, allocations: 67.45 kB / 0.7778 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.02208, allocations: 24 kB / 0.7779 GB, free: 3.848 MB / 0.7292 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.0001239/0.0222, allocations: 153.8 kB / 0.778 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.02226, allocations: 35.95 kB / 0.778 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.02231, allocations: 57.86 kB / 0.7781 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.02232, allocations: 5.688 kB / 0.7781 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.02232, allocations: 0 / 0.7781 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.02232, allocations: 3.984 kB / 0.7781 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.02259, allocations: 265.5 kB / 0.7784 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.02259, allocations: 0 / 0.7784 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.02276, allocations: 68.5 kB / 0.7784 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.02287, allocations: 32.62 kB / 0.7785 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.02288, allocations: 12.92 kB / 0.7785 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000621/0.0235, allocations: 1.255 MB / 0.7797 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02351, allocations: 0 / 0.7797 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.02377, allocations: 318.9 kB / 0.78 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.02388, allocations: 88.34 kB / 0.7801 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.02392, allocations: 7.984 kB / 0.7801 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.02406, allocations: 12.75 kB / 0.7801 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.02409, allocations: 11.97 kB / 0.7801 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.0241, allocations: 8.5 kB / 0.7801 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002159/0.02432, allocations: 264.6 kB / 0.7804 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.02432, allocations: 0.6875 kB / 0.7804 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003742/0.02469, allocations: 187.8 kB / 0.7806 GB, free: 0.9531 MB / 0.7292 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.0001007/0.02479, allocations: 86.39 kB / 0.7806 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.02513, allocations: 310 kB / 0.7809 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.02514, allocations: 9.656 kB / 0.7809 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.02525, allocations: 173 kB / 0.7811 GB, free: 368 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.02569, allocations: 169.6 kB / 0.7813 GB, free: 204 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.02706, allocations: 1.072 MB / 0.7823 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.02743, allocations: 181.2 kB / 0.7825 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.02758, allocations: 63.78 kB / 0.7825 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.02785, allocations: 174.1 kB / 0.7827 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of SimCode: time 7.02e-07/0.02785, allocations: 0 / 0.7827 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.01196/0.0398, allocations: 9.582 MB / 0.7921 GB, free: 5.375 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.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.166847951244563]