Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.0009285/0.0009285, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0008871/0.0008871, allocations: 161.4 kB / 24.17 MB, free: 328 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.9141/0.9141, allocations: 177.1 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.885/1.885, allocations: 377.9 MB / 0.624 GB, free: 8.34 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.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.651e-05, allocations: 6.75 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003731/0.003757, allocations: 3.74 MB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003678/0.007435, allocations: 2.553 MB / 0.7661 GB, free: 396 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004168/0.007852, allocations: 23.81 kB / 0.7661 GB, free: 372 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.008506, allocations: 251 kB / 0.7664 GB, free: 120 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0009589/0.009465, allocations: 0.5573 MB / 0.7669 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.01057, allocations: 0.5744 MB / 0.7675 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.01181, allocations: 1.432 MB / 0.7689 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.01199, allocations: 110.4 kB / 0.769 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.01267, allocations: 0.5924 MB / 0.7696 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/0.01313, allocations: 414.9 kB / 0.77 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.965e-05/0.0132, allocations: 52 kB / 0.77 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.01333, allocations: 75.92 kB / 0.7701 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.01364, allocations: 406.9 kB / 0.7705 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.01388, allocations: 322 kB / 0.7708 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.01441, allocations: 0.6576 MB / 0.7714 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.01441, allocations: 0 / 0.7714 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01442, allocations: 0 / 0.7714 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.01442, allocations: 0 / 0.7714 GB, free: 10.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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001215/0.01564, allocations: 1.155 MB / 0.7726 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.01567, allocations: 8.031 kB / 0.7726 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.01587, allocations: 100.8 kB / 0.7727 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.01642, allocations: 0.4942 MB / 0.7731 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.01645, allocations: 41.97 kB / 0.7732 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.0165, allocations: 52.38 kB / 0.7732 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.01678, allocations: 295.2 kB / 0.7735 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.01679, allocations: 4.125 kB / 0.7735 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.01681, allocations: 15.94 kB / 0.7735 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.01682, allocations: 8.875 kB / 0.7735 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.01692, allocations: 101.7 kB / 0.7736 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.01815, allocations: 1.419 MB / 0.775 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.01876, allocations: 413.8 kB / 0.7754 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.01882, allocations: 60.5 kB / 0.7755 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.01884, allocations: 4 kB / 0.7755 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.01886, allocations: 34.56 kB / 0.7755 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.674e-06/0.01886, allocations: 0 / 0.7755 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0005708/0.01943, allocations: 351.5 kB / 0.7758 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.01946, allocations: 55.41 kB / 0.7759 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.01991, allocations: 0.7041 MB / 0.7766 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.01994, allocations: 41.7 kB / 0.7766 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.02006, allocations: 283 kB / 0.7769 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.02012, allocations: 122.9 kB / 0.777 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.02025, allocations: 163.1 kB / 0.7772 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.02036, allocations: 402.5 kB / 0.7776 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/0.02045, allocations: 74.12 kB / 0.7776 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.0207, allocations: 474.5 kB / 0.7781 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.02113, allocations: 0.6324 MB / 0.7787 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.02114, allocations: 8.625 kB / 0.7787 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005672/0.0217, allocations: 0.5798 MB / 0.7793 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.02172, allocations: 8.781 kB / 0.7793 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.02173, allocations: 16 kB / 0.7793 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.02202, allocations: 123.4 kB / 0.7794 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.02232, allocations: 179.7 kB / 0.7796 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.02402, allocations: 3.689 MB / 0.7832 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.02439, allocations: 95.28 kB / 0.7833 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.02442, allocations: 36.78 kB / 0.7833 GB, free: 13.9 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.02456, allocations: 175.1 kB / 0.7835 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.02462, allocations: 51.94 kB / 0.7835 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.924e-05/0.02468, allocations: 72.42 kB / 0.7836 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.02468, allocations: 7.984 kB / 0.7836 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.02469, allocations: 0 / 0.7836 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.02469, allocations: 0 / 0.7836 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.02499, allocations: 306.8 kB / 0.7839 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.025, allocations: 0 / 0.7839 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.02515, allocations: 59.84 kB / 0.784 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.02538, allocations: 103.5 kB / 0.784 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.02539, allocations: 4 kB / 0.7841 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.02692, allocations: 3.714 MB / 0.7877 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02692, allocations: 0 / 0.7877 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.0273, allocations: 447.1 kB / 0.7881 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.02744, allocations: 100.1 kB / 0.7882 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.02749, allocations: 11.94 kB / 0.7882 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.02768, allocations: 12.52 kB / 0.7882 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.02773, allocations: 29.27 kB / 0.7883 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.02774, allocations: 8 kB / 0.7883 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002641/0.028, allocations: 340.5 kB / 0.7886 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.028, allocations: 0 / 0.7886 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005254/0.02853, allocations: 272.9 kB / 0.7888 GB, free: 7.875 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0001164/0.02864, allocations: 85.77 kB / 0.7889 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005721/0.02922, allocations: 0.6565 MB / 0.7896 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.02923, allocations: 8 kB / 0.7896 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.02948, allocations: 446.4 kB / 0.79 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.02995, allocations: 175.2 kB / 0.7902 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.03145, allocations: 1.307 MB / 0.7914 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.03157, allocations: 185.9 kB / 0.7916 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.03175, allocations: 87.73 kB / 0.7917 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.03201, allocations: 201.2 kB / 0.7919 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.03201, allocations: 0 / 0.7919 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of Templates: time 0.01392/0.04593, allocations: 11.44 MB / 0.8031 GB, free: 9.465 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.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.165150858927518]