Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001426/0.001426, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001526/0.001526, allocations: 173.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.912/2.912, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|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.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|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.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.203e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005574/0.005606, allocations: 3.441 MB / 0.9847 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004883/0.01049, allocations: 2.419 MB / 0.9871 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006172/0.01111, allocations: 23.81 kB / 0.9871 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.01251, allocations: 242.3 kB / 0.9874 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.01426, allocations: 0.557 MB / 0.9879 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.01596, allocations: 0.5717 MB / 0.9885 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.01805, allocations: 1.417 MB / 0.9898 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.01833, allocations: 97.66 kB / 0.9899 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.01988, allocations: 0.6119 MB / 0.9905 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009526/0.02083, allocations: 442.8 kB / 0.991 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.02102, allocations: 56 kB / 0.991 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.0213, allocations: 60 kB / 0.9911 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005353/0.02184, allocations: 386.9 kB / 0.9914 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007752/0.02261, allocations: 315.2 kB / 0.9917 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.02401, allocations: 0.9032 MB / 0.9926 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.02401, allocations: 0 / 0.9926 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.02402, allocations: 0 / 0.9926 GB, free: 464 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.94e-05/0.02407, allocations: 3.938 kB / 0.9926 GB, free: 460 kB / 0.9356 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.003325/0.02739, allocations: 1.212 MB / 0.9938 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.02743, allocations: 12.03 kB / 0.9938 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.02783, allocations: 108.3 kB / 0.9939 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.02927, allocations: 0.6019 MB / 0.9945 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.02932, allocations: 45.03 kB / 0.9946 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.68e-05/0.02941, allocations: 52.38 kB / 0.9946 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007219/0.03013, allocations: 399.5 kB / 0.995 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.03015, allocations: 192 / 0.995 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.03019, allocations: 19.94 kB / 0.995 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.03021, allocations: 8 kB / 0.995 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.0307, allocations: 226.4 kB / 0.9952 GB, free: 13.69 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.03394, allocations: 1.802 MB / 0.997 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.03537, allocations: 462.2 kB / 0.9974 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.03564, allocations: 145.2 kB / 0.9976 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.03566, allocations: 4.234 kB / 0.9976 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.03569, allocations: 42.73 kB / 0.9976 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.03569, allocations: 0 / 0.9976 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.002497/0.03818, allocations: 1.063 MB / 0.9986 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.03822, allocations: 59.41 kB / 0.9987 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.03966, allocations: 0.9192 MB / 0.9996 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.03971, allocations: 37.7 kB / 0.9996 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.04008, allocations: 381.2 kB / 1 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.04024, allocations: 119 kB / 1 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.04052, allocations: 170.6 kB / 1 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002462/0.04077, allocations: 390.7 kB / 1.001 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.04118, allocations: 225.8 kB / 1.001 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008085/0.04199, allocations: 0.6312 MB / 1.001 GB, free: 6.922 MB / 0.9512 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.04591, allocations: 1.626 MB / 1.003 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.04592, allocations: 7.938 kB / 1.003 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002096/0.04802, allocations: 0.8964 MB / 1.004 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.04805, allocations: 12 kB / 1.004 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.04807, allocations: 16.12 kB / 1.004 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.04829, allocations: 44.84 kB / 1.004 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.04904, allocations: 211.6 kB / 1.004 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.05054, allocations: 1.334 MB / 1.006 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.05162, allocations: 43.97 kB / 1.006 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/0.05172, allocations: 43.94 kB / 1.006 GB, free: 2.391 MB / 0.9512 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * 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.0005922/0.05231, allocations: 301.8 kB / 1.006 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.0526, allocations: 83.44 kB / 1.006 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.0528, allocations: 76.42 kB / 1.006 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.05281, allocations: 4 kB / 1.006 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.05282, allocations: 96 / 1.006 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.05283, allocations: 7.984 kB / 1.006 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.05513, allocations: 0.9651 MB / 1.007 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.05513, allocations: 0 / 1.007 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.05558, allocations: 87.88 kB / 1.007 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/0.05574, allocations: 40.89 kB / 1.007 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.05579, allocations: 8 kB / 1.007 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.05724, allocations: 1.299 MB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.05724, allocations: 3.938 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.05839, allocations: 0.6566 MB / 1.009 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.05879, allocations: 123.4 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.05894, allocations: 12 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.05946, allocations: 19.97 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.05954, allocations: 27.83 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.05957, allocations: 12 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001206/0.06077, allocations: 0.6161 MB / 1.01 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.06077, allocations: 0 / 1.01 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001082/0.06186, allocations: 204 kB / 1.01 GB, free: 13.67 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.0002316/0.06209, allocations: 111.2 kB / 1.01 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.06375, allocations: 0.6303 MB / 1.011 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.06375, allocations: 0.625 kB / 1.011 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.06423, allocations: 270.4 kB / 1.011 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.06528, allocations: 167.4 kB / 1.011 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.06847, allocations: 1.48 MB / 1.013 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.06906, allocations: 400.2 kB / 1.013 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004871/0.06955, allocations: 149.6 kB / 1.013 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.06974, allocations: 52.48 kB / 1.013 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of SimCode: time 1.442e-06/0.06974, allocations: 4 kB / 1.013 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.02269/0.09244, allocations: 9.383 MB / 1.022 GB, free: 1.172 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.529932200908661]