Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001135/0.001135, 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.001049/0.001049, 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 0.9711/0.9711, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.887/1.887, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.ConductorMultiLayer3,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.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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.ConductorMultiLayer3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.511e-05, allocations: 2.812 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003056/0.003072, allocations: 2.834 MB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.005969, allocations: 2.808 MB / 0.7655 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.006151, allocations: 15.88 kB / 0.7655 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.007226, allocations: 0.5162 MB / 0.766 GB, free: 488 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.007633, allocations: 318.9 kB / 0.7664 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.008264, allocations: 380.8 kB / 0.7667 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.009422, allocations: 1.514 MB / 0.7682 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.009566, allocations: 66.92 kB / 0.7683 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006566/0.01022, allocations: 0.6149 MB / 0.7689 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.01068, allocations: 403.1 kB / 0.7692 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.03e-05/0.01074, allocations: 48 kB / 0.7693 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.01085, allocations: 55.94 kB / 0.7693 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004557/0.01131, allocations: 307.2 kB / 0.7696 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.01148, allocations: 251.4 kB / 0.7699 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.012, allocations: 0.606 MB / 0.7705 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.012, allocations: 0 / 0.7705 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.222e-06/0.012, allocations: 0 / 0.7705 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.01201, allocations: 0 / 0.7705 GB, free: 11.95 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.001003/0.01301, allocations: 0.9348 MB / 0.7714 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.01305, allocations: 8.031 kB / 0.7714 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.01319, allocations: 72.84 kB / 0.7715 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.01365, allocations: 474.7 kB / 0.7719 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.01368, allocations: 28.88 kB / 0.7719 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.01372, allocations: 40.33 kB / 0.772 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.01396, allocations: 228.2 kB / 0.7722 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01397, allocations: 4.125 kB / 0.7722 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.01398, allocations: 12.12 kB / 0.7722 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.01399, allocations: 8 kB / 0.7722 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.01408, allocations: 70.23 kB / 0.7723 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01511, allocations: 1.103 MB / 0.7734 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.01553, allocations: 270.8 kB / 0.7736 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.01558, allocations: 36.84 kB / 0.7737 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.01559, allocations: 4 kB / 0.7737 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.01561, allocations: 30.56 kB / 0.7737 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.01561, allocations: 2.75 kB / 0.7737 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003328/0.01594, allocations: 179.7 kB / 0.7739 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.01597, allocations: 55.41 kB / 0.7739 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.01636, allocations: 0.5622 MB / 0.7745 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.01639, allocations: 37.7 kB / 0.7745 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01649, allocations: 231.8 kB / 0.7747 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.01654, allocations: 75.34 kB / 0.7748 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.732e-05/0.01663, allocations: 110.3 kB / 0.7749 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.01674, allocations: 374.6 kB / 0.7753 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.01683, allocations: 64.11 kB / 0.7753 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.01701, allocations: 311.5 kB / 0.7756 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.01732, allocations: 448.8 kB / 0.776 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01733, allocations: 0 / 0.776 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000663/0.01799, allocations: 384.4 kB / 0.7764 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.01801, allocations: 12 kB / 0.7764 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.01802, allocations: 11.98 kB / 0.7764 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.01817, allocations: 37.61 kB / 0.7765 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.01847, allocations: 159.9 kB / 0.7766 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000631/0.0191, allocations: 1.201 MB / 0.7778 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.01936, allocations: 69.05 kB / 0.7779 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.01938, allocations: 20 kB / 0.7779 GB, free: 3.836 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.0001151/0.01949, allocations: 149.4 kB / 0.778 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.01955, allocations: 39.95 kB / 0.7781 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.0196, allocations: 57.86 kB / 0.7781 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.0196, allocations: 4.875 kB / 0.7781 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.0196, allocations: 0 / 0.7781 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01961, allocations: 8.703 kB / 0.7781 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.01986, allocations: 261.5 kB / 0.7784 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01986, allocations: 0.6875 kB / 0.7784 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.02002, allocations: 64.97 kB / 0.7784 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.004e-05/0.02011, allocations: 33.52 kB / 0.7785 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.02013, allocations: 11.98 kB / 0.7785 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005688/0.0207, allocations: 1.253 MB / 0.7797 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.0207, allocations: 0 / 0.7797 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.02097, allocations: 327.3 kB / 0.78 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.02108, allocations: 83.44 kB / 0.7801 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.02112, allocations: 11.98 kB / 0.7801 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.02125, allocations: 5 kB / 0.7801 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.02129, allocations: 15.97 kB / 0.7801 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.02129, allocations: 7.938 kB / 0.7801 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002254/0.02152, allocations: 269.7 kB / 0.7804 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02152, allocations: 0 / 0.7804 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003639/0.02188, allocations: 187.8 kB / 0.7806 GB, free: 0.9375 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 8.94e-05/0.02197, allocations: 86.92 kB / 0.7807 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.02231, allocations: 312.9 kB / 0.7809 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.02232, allocations: 4 kB / 0.781 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.02244, allocations: 172.3 kB / 0.7811 GB, free: 356 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.02288, allocations: 176.2 kB / 0.7813 GB, free: 188 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.02419, allocations: 1.072 MB / 0.7823 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.0243, allocations: 177.2 kB / 0.7825 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001522/0.02445, allocations: 63.69 kB / 0.7826 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.02472, allocations: 174.1 kB / 0.7827 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/0.02472, allocations: 0 / 0.7827 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of Templates: time 0.0116/0.03632, allocations: 9.587 MB / 0.7921 GB, free: 5.352 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.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: 4.977224223781377]