Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000968/0.0009679, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007977/0.007978, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 11.98 kB / 0.8159 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6609, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002621/0.6636, allocations: 2.428 MB / 0.9574 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003702/0.6673, allocations: 2.751 MB / 0.9601 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.6678, allocations: 8.062 kB / 0.9601 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.6692, allocations: 453.2 kB / 0.9605 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.6698, allocations: 244.4 kB / 0.9608 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008511/0.6706, allocations: 331.8 kB / 0.9611 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.6725, allocations: 1.718 MB / 0.9627 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.6727, allocations: 122.2 kB / 0.9629 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008048/0.6735, allocations: 401.2 kB / 0.9632 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006122/0.6742, allocations: 398.2 kB / 0.9636 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.6742, allocations: 22.31 kB / 0.9636 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.6743, allocations: 26.12 kB / 0.9637 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.6745, allocations: 229.8 kB / 0.9639 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.6748, allocations: 350.2 kB / 0.9642 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.6755, allocations: 0.8686 MB / 0.9651 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6755, allocations: 1.281 kB / 0.9651 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6755, allocations: 0 / 0.9651 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.6755, allocations: 0 / 0.9651 GB, free: 0.6836 MB / 0.7169 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.001737/0.6772, allocations: 1.028 MB / 0.9661 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.6773, allocations: 9.219 kB / 0.9661 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.6774, allocations: 78.41 kB / 0.9662 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009749/0.6784, allocations: 0.6505 MB / 0.9668 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.6785, allocations: 31.16 kB / 0.9668 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.645e-05/0.6786, allocations: 46.08 kB / 0.9669 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.6792, allocations: 377.4 kB / 0.9672 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6792, allocations: 0.875 kB / 0.9672 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.6792, allocations: 10.28 kB / 0.9672 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.6793, allocations: 9.688 kB / 0.9673 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.6797, allocations: 235.3 kB / 0.9675 GB, free: 14.96 MB / 0.7325 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.003549/0.6832, allocations: 2.474 MB / 0.9699 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009776/0.6842, allocations: 404.8 kB / 0.9703 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.6844, allocations: 143.7 kB / 0.9704 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.6845, allocations: 1.094 kB / 0.9704 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.6845, allocations: 40.06 kB / 0.9705 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.6845, allocations: 0 / 0.9705 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001009/0.6855, allocations: 0.5403 MB / 0.971 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.6856, allocations: 53.53 kB / 0.971 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.687, allocations: 0.9385 MB / 0.9719 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.6871, allocations: 35.67 kB / 0.972 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.6874, allocations: 304.4 kB / 0.9723 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.6875, allocations: 72.98 kB / 0.9723 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.6876, allocations: 65.59 kB / 0.9724 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.6878, allocations: 387.7 kB / 0.9728 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.6883, allocations: 242.8 kB / 0.973 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.6889, allocations: 0.5013 MB / 0.9735 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.6899, allocations: 0.6973 MB / 0.9742 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.69, allocations: 3.781 kB / 0.9742 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001457/0.6914, allocations: 0.8236 MB / 0.975 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.6915, allocations: 13.06 kB / 0.975 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.6915, allocations: 8.656 kB / 0.975 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.6917, allocations: 56.38 kB / 0.9751 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.6922, allocations: 140.4 kB / 0.9752 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.6936, allocations: 1.435 MB / 0.9766 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.6945, allocations: 129 kB / 0.9767 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.6945, allocations: 31.75 kB / 0.9767 GB, free: 7.688 MB / 0.7325 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.0004107/0.6949, allocations: 336.8 kB / 0.9771 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.6951, allocations: 65.78 kB / 0.9771 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.6952, allocations: 67.47 kB / 0.9772 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6952, allocations: 6.594 kB / 0.9772 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6952, allocations: 0 / 0.9772 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6952, allocations: 0 / 0.9772 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007645/0.696, allocations: 0.5794 MB / 0.9778 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.696, allocations: 5.062 kB / 0.9778 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.6963, allocations: 54.64 kB / 0.9778 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.6964, allocations: 36.8 kB / 0.9779 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.6965, allocations: 7.938 kB / 0.9779 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.6976, allocations: 1.422 MB / 0.9793 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6976, allocations: 0 / 0.9793 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.6984, allocations: 0.5823 MB / 0.9798 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.6986, allocations: 208.2 kB / 0.98 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.6987, allocations: 8 kB / 0.98 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.6991, allocations: 43.92 kB / 0.9801 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.6992, allocations: 15.97 kB / 0.9801 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.6992, allocations: 11.98 kB / 0.9801 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008702/0.7001, allocations: 0.6551 MB / 0.9807 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7001, allocations: 0 / 0.9807 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006646/0.7008, allocations: 183.8 kB / 0.9809 GB, free: 3.77 MB / 0.7325 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.0001348/0.7009, allocations: 111.2 kB / 0.981 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008978/0.7018, allocations: 0.575 MB / 0.9816 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7018, allocations: 8.188 kB / 0.9816 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.7022, allocations: 246.5 kB / 0.9818 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008799/0.7031, allocations: 154.8 kB / 0.982 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.7054, allocations: 1.816 MB / 0.9837 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.7061, allocations: 1.01 MB / 0.9847 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000421/0.7065, allocations: 188.5 kB / 0.9849 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.7066, allocations: 35.44 kB / 0.9849 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.7066, allocations: 0 / 0.9849 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.01391/0.7205, allocations: 7.968 MB / 0.9927 GB, free: 7.699 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches