Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 102.9 kB / 16.37 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 195.3 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.12 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003893/0.2756, allocations: 2.754 MB / 0.9538 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003679/0.2793, allocations: 2.785 MB / 0.9565 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.2795, allocations: 7.938 kB / 0.9565 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.2809, allocations: 0.4942 MB / 0.957 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004903/0.2815, allocations: 258.8 kB / 0.9573 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.2824, allocations: 395 kB / 0.9576 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.2839, allocations: 1.524 MB / 0.9591 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.2841, allocations: 142.2 kB / 0.9593 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005407/0.2847, allocations: 474.8 kB / 0.9597 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.2852, allocations: 378.6 kB / 0.9601 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/0.2853, allocations: 48 kB / 0.9601 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.2854, allocations: 52 kB / 0.9602 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.2857, allocations: 283.2 kB / 0.9604 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.286, allocations: 370.2 kB / 0.9608 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007087/0.2867, allocations: 0.9074 MB / 0.9617 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2867, allocations: 0 / 0.9617 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2868, allocations: 0 / 0.9617 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.2868, allocations: 0 / 0.9617 GB, free: 13.23 MB / 0.7481 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.001949/0.2887, allocations: 1.148 MB / 0.9628 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2888, allocations: 8.031 kB / 0.9628 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.2889, allocations: 80 kB / 0.9629 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.29, allocations: 0.6759 MB / 0.9635 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.29, allocations: 28.94 kB / 0.9636 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.2901, allocations: 36.38 kB / 0.9636 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.2907, allocations: 378.8 kB / 0.964 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2907, allocations: 0 / 0.964 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.2907, allocations: 12 kB / 0.964 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2907, allocations: 8 kB / 0.964 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.2911, allocations: 229.5 kB / 0.9642 GB, free: 10.53 MB / 0.7481 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.003529/0.2947, allocations: 2.459 MB / 0.9666 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.2957, allocations: 410.3 kB / 0.967 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.2959, allocations: 136.7 kB / 0.9671 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2959, allocations: 0 / 0.9671 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.2959, allocations: 38.56 kB / 0.9672 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.296, allocations: 0 / 0.9672 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0009711/0.2969, allocations: 0.53 MB / 0.9677 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.297, allocations: 59.41 kB / 0.9677 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.2981, allocations: 0.9298 MB / 0.9686 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2981, allocations: 37.7 kB / 0.9687 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.2984, allocations: 300.4 kB / 0.969 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.2984, allocations: 75.02 kB / 0.969 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.2986, allocations: 122.2 kB / 0.9691 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2988, allocations: 382.7 kB / 0.9695 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.2991, allocations: 240.9 kB / 0.9697 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.2996, allocations: 0.5014 MB / 0.9702 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/0.3004, allocations: 0.6923 MB / 0.9709 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.3004, allocations: 4 kB / 0.9709 GB, free: 3.098 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001199/0.3016, allocations: 0.8164 MB / 0.9717 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.3016, allocations: 18.28 kB / 0.9717 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3017, allocations: 8 kB / 0.9717 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.3019, allocations: 61.38 kB / 0.9718 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.3024, allocations: 135.8 kB / 0.9719 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.3036, allocations: 1.542 MB / 0.9734 GB, free: 384 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.3042, allocations: 119.2 kB / 0.9735 GB, free: 264 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.3043, allocations: 28 kB / 0.9736 GB, free: 236 kB / 0.7481 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.00036/0.3047, allocations: 341.4 kB / 0.9739 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.139e-05/0.3048, allocations: 67.19 kB / 0.974 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.3049, allocations: 70 kB / 0.974 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3049, allocations: 4 kB / 0.974 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3049, allocations: 0 / 0.974 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3049, allocations: 3.984 kB / 0.974 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.3055, allocations: 0.583 MB / 0.9746 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3055, allocations: 0 / 0.9746 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.3058, allocations: 47.91 kB / 0.9746 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.3059, allocations: 52.75 kB / 0.9747 GB, free: 15 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3059, allocations: 12 kB / 0.9747 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.307, allocations: 1.511 MB / 0.9762 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.307, allocations: 0 / 0.9762 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/0.3078, allocations: 0.5655 MB / 0.9767 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.3081, allocations: 192.4 kB / 0.9769 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.3082, allocations: 24 kB / 0.9769 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.3085, allocations: 47.86 kB / 0.977 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.3086, allocations: 11.98 kB / 0.977 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3086, allocations: 8 kB / 0.977 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008099/0.3094, allocations: 0.659 MB / 0.9777 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2e-07/0.3094, allocations: 0 / 0.9777 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006141/0.31, allocations: 191.7 kB / 0.9778 GB, free: 11.62 MB / 0.7637 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.0001496/0.3102, allocations: 107.2 kB / 0.9779 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008361/0.311, allocations: 0.5737 MB / 0.9785 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3111, allocations: 0 / 0.9785 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.3114, allocations: 252.8 kB / 0.9787 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.3121, allocations: 177.3 kB / 0.9789 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.3141, allocations: 1.496 MB / 0.9804 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.3148, allocations: 1.007 MB / 0.9814 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003584/0.3151, allocations: 188.5 kB / 0.9815 GB, free: 7.746 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.3152, allocations: 35.44 kB / 0.9816 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of SimCode: time 3.5e-07/0.3152, allocations: 0 / 0.9816 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of Templates: time 0.01405/0.3293, allocations: 8.435 MB / 0.9898 GB, free: 15.39 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches