Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009542/0.0009542, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001034/0.001034, allocations: 181 kB / 24.09 MB, free: 420 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.04/1.04, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.875/1.875, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ConductorMultiLayer2,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.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_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0.9844 kB / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.246e-05, allocations: 2.312 kB / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003599/0.003631, allocations: 2.762 MB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.006971, allocations: 2.772 MB / 0.8174 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.00726, allocations: 11.88 kB / 0.8174 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.008514, allocations: 489.1 kB / 0.8178 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005777/0.009092, allocations: 312 kB / 0.8181 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009111/0.01, allocations: 418.7 kB / 0.8185 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.01148, allocations: 1.546 MB / 0.82 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.01167, allocations: 71.36 kB / 0.8201 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009102/0.01258, allocations: 0.6044 MB / 0.8207 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005866/0.01317, allocations: 416 kB / 0.8211 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-05/0.01325, allocations: 50.28 kB / 0.8211 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.01342, allocations: 52 kB / 0.8212 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.01371, allocations: 311.2 kB / 0.8215 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.01397, allocations: 247.4 kB / 0.8217 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.01462, allocations: 0.6074 MB / 0.8223 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01462, allocations: 0 / 0.8223 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01462, allocations: 0.8125 kB / 0.8223 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.01464, allocations: 0 / 0.8223 GB, free: 6.875 MB / 0.7761 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.001349/0.01599, allocations: 1.13 MB / 0.8234 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.01603, allocations: 12.03 kB / 0.8234 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.01624, allocations: 100.4 kB / 0.8235 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/0.01689, allocations: 0.5113 MB / 0.824 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.01692, allocations: 29.91 kB / 0.8241 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.01697, allocations: 44.31 kB / 0.8241 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.01725, allocations: 248.2 kB / 0.8243 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.01726, allocations: 4.172 kB / 0.8243 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.01728, allocations: 13.75 kB / 0.8244 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01729, allocations: 4 kB / 0.8244 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.01738, allocations: 67.39 kB / 0.8244 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.01878, allocations: 1.539 MB / 0.8259 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.01921, allocations: 231.1 kB / 0.8261 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.01927, allocations: 44.55 kB / 0.8262 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.01928, allocations: 4 kB / 0.8262 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.0193, allocations: 41.33 kB / 0.8262 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.0193, allocations: 0.5938 kB / 0.8262 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0004307/0.01973, allocations: 225.1 kB / 0.8265 GB, free: 2.477 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.01976, allocations: 55.41 kB / 0.8265 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006596/0.02042, allocations: 0.8076 MB / 0.8273 GB, free: 1.586 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.02046, allocations: 37.7 kB / 0.8273 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.02069, allocations: 415.3 kB / 0.8277 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.02074, allocations: 75.34 kB / 0.8278 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.02088, allocations: 163.8 kB / 0.828 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002389/0.02112, allocations: 0.6054 MB / 0.8285 GB, free: 276 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.0212, allocations: 37.28 kB / 0.8286 GB, free: 240 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.02154, allocations: 457.2 kB / 0.829 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.02203, allocations: 0.536 MB / 0.8295 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.02204, allocations: 4 kB / 0.8295 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006437/0.02269, allocations: 448.9 kB / 0.83 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.02271, allocations: 8 kB / 0.83 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.02273, allocations: 20.08 kB / 0.83 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.02293, allocations: 35.67 kB / 0.83 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.02318, allocations: 123.8 kB / 0.8301 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.02434, allocations: 1.748 MB / 0.8319 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.02469, allocations: 55.56 kB / 0.8319 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.02471, allocations: 27.94 kB / 0.8319 GB, free: 12.32 MB / 0.7917 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.0001694/0.02488, allocations: 192.3 kB / 0.8321 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.02496, allocations: 67.58 kB / 0.8322 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.02502, allocations: 57.86 kB / 0.8322 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.02502, allocations: 4 kB / 0.8322 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.02503, allocations: 0 / 0.8322 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.02504, allocations: 8.047 kB / 0.8323 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.02545, allocations: 360.8 kB / 0.8326 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.02545, allocations: 4 kB / 0.8326 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.02559, allocations: 43.91 kB / 0.8326 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/0.02573, allocations: 27.67 kB / 0.8327 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.02575, allocations: 7.984 kB / 0.8327 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.02677, allocations: 1.725 MB / 0.8344 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.02677, allocations: 3.984 kB / 0.8344 GB, free: 9.672 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.02715, allocations: 372.8 kB / 0.8347 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.02729, allocations: 103.5 kB / 0.8348 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.02734, allocations: 11.98 kB / 0.8348 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.02749, allocations: 12.06 kB / 0.8348 GB, free: 9.16 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.02755, allocations: 15.97 kB / 0.8349 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.02756, allocations: 8 kB / 0.8349 GB, free: 9.137 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003981/0.02795, allocations: 446.8 kB / 0.8353 GB, free: 8.703 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.02795, allocations: 0 / 0.8353 GB, free: 8.703 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005027/0.02846, allocations: 179.8 kB / 0.8355 GB, free: 8.527 MB / 0.7917 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.0001206/0.02858, allocations: 107.2 kB / 0.8356 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.02902, allocations: 401 kB / 0.8359 GB, free: 8.004 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02903, allocations: 0.8125 kB / 0.8359 GB, free: 8.004 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.02918, allocations: 233.4 kB / 0.8362 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.02969, allocations: 157.6 kB / 0.8363 GB, free: 7.605 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.03121, allocations: 1.152 MB / 0.8374 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.03135, allocations: 197.2 kB / 0.8376 GB, free: 6.203 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.03152, allocations: 64.66 kB / 0.8377 GB, free: 6.137 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.03177, allocations: 206.1 kB / 0.8379 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of SimCode: time 1.132e-06/0.03177, allocations: 0 / 0.8379 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of Templates: time 0.01142/0.04319, allocations: 9.347 MB / 0.847 GB, free: 12.8 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.226386445108801]