Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007368/0.0007368, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009631/0.0017, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007735/0.0007735, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009475/0.001721, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09458/1.102, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.603/2.603, allocations: 446.7 MB / 0.6745 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2987/2.901, allocations: 145.9 MB / 0.817 GB, free: 4.242 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 0.8183 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.565e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003618/0.003644, allocations: 2.823 MB / 0.821 GB, free: 112 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003552/0.007196, allocations: 2.826 MB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.007483, allocations: 11.88 kB / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.008982, allocations: 0.4979 MB / 0.8243 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005973/0.009579, allocations: 314.5 kB / 0.8246 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.01079, allocations: 382.8 kB / 0.825 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.01222, allocations: 1.492 MB / 0.8264 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.01242, allocations: 74.41 kB / 0.8265 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009001/0.01332, allocations: 0.7945 MB / 0.8273 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.01384, allocations: 407.1 kB / 0.8276 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.01392, allocations: 48 kB / 0.8277 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.0141, allocations: 59.94 kB / 0.8277 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.01435, allocations: 275.3 kB / 0.828 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.01458, allocations: 199.6 kB / 0.8282 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.01564, allocations: 0.5763 MB / 0.8288 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/0.01566, allocations: 0 / 0.8288 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.753e-06/0.01566, allocations: 0 / 0.8288 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.636e-05/0.01568, allocations: 0 / 0.8288 GB, free: 8.16 MB / 0.8073 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.001283/0.01697, allocations: 1.067 MB / 0.8298 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.017, allocations: 12.03 kB / 0.8298 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.01721, allocations: 154 kB / 0.83 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.01773, allocations: 455 kB / 0.8304 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.01776, allocations: 28.88 kB / 0.8304 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.01781, allocations: 44.31 kB / 0.8305 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.01808, allocations: 229.5 kB / 0.8307 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.01809, allocations: 192 / 0.8307 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.01811, allocations: 20.12 kB / 0.8307 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.01812, allocations: 4 kB / 0.8307 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.01822, allocations: 70.23 kB / 0.8308 GB, free: 6 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.01943, allocations: 1.111 MB / 0.8319 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.01989, allocations: 270.8 kB / 0.8321 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.01995, allocations: 40.84 kB / 0.8322 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.01996, allocations: 4 kB / 0.8322 GB, free: 4.527 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.01999, allocations: 30.56 kB / 0.8322 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.01999, allocations: 0 / 0.8322 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0003939/0.02038, allocations: 181.4 kB / 0.8324 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.02041, allocations: 55.41 kB / 0.8324 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.02086, allocations: 0.5584 MB / 0.833 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.02089, allocations: 41.64 kB / 0.833 GB, free: 3.617 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.02102, allocations: 230 kB / 0.8332 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.02108, allocations: 79.34 kB / 0.8333 GB, free: 3.312 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.0212, allocations: 110.3 kB / 0.8334 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.02134, allocations: 374.6 kB / 0.8338 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.362e-05/0.02142, allocations: 68.11 kB / 0.8338 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.02164, allocations: 310.5 kB / 0.8341 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.02203, allocations: 443.9 kB / 0.8345 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.02204, allocations: 0 / 0.8345 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004789/0.02252, allocations: 379.5 kB / 0.8349 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.02254, allocations: 14.64 kB / 0.8349 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.02255, allocations: 12 kB / 0.8349 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.02276, allocations: 40.36 kB / 0.835 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/0.02351, allocations: 157.4 kB / 0.8351 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008539/0.02436, allocations: 1.212 MB / 0.8363 GB, free: 15.85 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.02466, allocations: 67.45 kB / 0.8364 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.02469, allocations: 24 kB / 0.8364 GB, free: 15.76 MB / 0.823 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.0001528/0.02484, allocations: 160.3 kB / 0.8365 GB, free: 15.59 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.0249, allocations: 39.97 kB / 0.8366 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/0.02496, allocations: 53.86 kB / 0.8366 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.02497, allocations: 4 kB / 0.8366 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.02497, allocations: 0 / 0.8366 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.02498, allocations: 3.984 kB / 0.8366 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.02531, allocations: 269.5 kB / 0.8369 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.02532, allocations: 0 / 0.8369 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.02551, allocations: 63.92 kB / 0.837 GB, free: 15.14 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.02563, allocations: 87.48 kB / 0.837 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.02575, allocations: 31.59 kB / 0.8371 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.02577, allocations: 11.98 kB / 0.8371 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007116/0.02648, allocations: 1.242 MB / 0.8383 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.02648, allocations: 3.938 kB / 0.8383 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.02677, allocations: 320.5 kB / 0.8386 GB, free: 13.33 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.02683, allocations: 8 kB / 0.8386 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.02696, allocations: 8.125 kB / 0.8386 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.027, allocations: 19.95 kB / 0.8386 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.02701, allocations: 4 kB / 0.8386 GB, free: 13.29 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002503/0.02726, allocations: 272.5 kB / 0.8389 GB, free: 13.03 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.02726, allocations: 0 / 0.8389 GB, free: 13.03 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004272/0.02769, allocations: 187.8 kB / 0.8391 GB, free: 12.85 MB / 0.823 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.0001303/0.02782, allocations: 80.41 kB / 0.8392 GB, free: 12.76 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.02824, allocations: 323.7 kB / 0.8395 GB, free: 12.44 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/0.02826, allocations: 11.98 kB / 0.8395 GB, free: 12.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.02839, allocations: 165.4 kB / 0.8396 GB, free: 12.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.02888, allocations: 217.7 kB / 0.8398 GB, free: 12.04 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.0331, allocations: 1.057 MB / 0.8409 GB, free: 10.94 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.03325, allocations: 181.1 kB / 0.841 GB, free: 10.74 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002205/0.03347, allocations: 64.66 kB / 0.8411 GB, free: 10.68 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.03375, allocations: 173.3 kB / 0.8413 GB, free: 10.51 MB / 0.823 GB Notification: Performance of SimCode: time 1.693e-06/0.03375, allocations: 0 / 0.8413 GB, free: 10.51 MB / 0.823 GB Notification: Performance of Templates: time 0.01351/0.04726, allocations: 10.15 MB / 0.8512 GB, free: 0.5664 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.ref.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.831338698044419]