Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001083/0.001083, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.3/2.3, allocations: 390.2 MB / 0.6642 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6899, allocations: 140.4 MB / 0.9489 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003728/0.6937, allocations: 2.775 MB / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003644/0.6973, allocations: 2.814 MB / 0.9544 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003776/0.6977, allocations: 7.625 kB / 0.9544 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.6991, allocations: 460.3 kB / 0.9548 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005509/0.6997, allocations: 237.9 kB / 0.955 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.7006, allocations: 339.6 kB / 0.9554 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.7021, allocations: 1.722 MB / 0.957 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.7023, allocations: 118.3 kB / 0.9572 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.7029, allocations: 412.6 kB / 0.9575 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004803/0.7034, allocations: 399.3 kB / 0.9579 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.7034, allocations: 23.12 kB / 0.9579 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.7036, allocations: 24.91 kB / 0.958 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.7038, allocations: 230.9 kB / 0.9582 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.7041, allocations: 337.1 kB / 0.9585 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000699/0.7048, allocations: 0.8848 MB / 0.9594 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.7048, allocations: 0 / 0.9594 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7049, allocations: 0 / 0.9594 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.7049, allocations: 0 / 0.9594 GB, free: 1.863 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.001847/0.7067, allocations: 1.139 MB / 0.9605 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.7068, allocations: 8.438 kB / 0.9605 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.7069, allocations: 80.55 kB / 0.9606 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007787/0.7077, allocations: 0.6536 MB / 0.9612 GB, free: 476 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.7077, allocations: 27.84 kB / 0.9612 GB, free: 464 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.7078, allocations: 42.19 kB / 0.9613 GB, free: 448 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.7083, allocations: 371.7 kB / 0.9616 GB, free: 192 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.7083, allocations: 3.938 kB / 0.9616 GB, free: 188 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.7083, allocations: 18.45 kB / 0.9617 GB, free: 172 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-06/0.7083, allocations: 6.188 kB / 0.9617 GB, free: 172 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.7087, allocations: 231.8 kB / 0.9619 GB, free: 64 kB / 0.7169 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.003409/0.7121, allocations: 2.452 MB / 0.9643 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.7131, allocations: 402.8 kB / 0.9647 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.7134, allocations: 137.5 kB / 0.9648 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.7134, allocations: 2.188 kB / 0.9648 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.7134, allocations: 36.03 kB / 0.9648 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.7134, allocations: 0 / 0.9648 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0009563/0.7144, allocations: 0.5412 MB / 0.9654 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.7144, allocations: 53.56 kB / 0.9654 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.7156, allocations: 0.9374 MB / 0.9663 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.7156, allocations: 36.23 kB / 0.9664 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.7158, allocations: 299.8 kB / 0.9666 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.7159, allocations: 69.31 kB / 0.9667 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.7161, allocations: 130.9 kB / 0.9668 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7162, allocations: 384 kB / 0.9672 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.7166, allocations: 240.2 kB / 0.9674 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.7171, allocations: 0.496 MB / 0.9679 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009021/0.718, allocations: 0.6973 MB / 0.9686 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.718, allocations: 2.594 kB / 0.9686 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001265/0.7193, allocations: 0.8134 MB / 0.9694 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.7193, allocations: 9.938 kB / 0.9694 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.7194, allocations: 12.92 kB / 0.9694 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.7196, allocations: 56.64 kB / 0.9695 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.7201, allocations: 138.8 kB / 0.9696 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.7213, allocations: 1.442 MB / 0.971 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.7221, allocations: 122.9 kB / 0.9711 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.7221, allocations: 27.53 kB / 0.9712 GB, free: 8.777 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.0004347/0.7226, allocations: 347.3 kB / 0.9715 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.7227, allocations: 61.78 kB / 0.9715 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.7228, allocations: 67.22 kB / 0.9716 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.7228, allocations: 5.312 kB / 0.9716 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.7228, allocations: 1.312 kB / 0.9716 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.7228, allocations: 7.922 kB / 0.9716 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008211/0.7237, allocations: 0.5758 MB / 0.9722 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7237, allocations: 0 / 0.9722 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.724, allocations: 47.2 kB / 0.9722 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.7241, allocations: 48.44 kB / 0.9723 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.7241, allocations: 7.781 kB / 0.9723 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.7254, allocations: 1.417 MB / 0.9737 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7254, allocations: 0 / 0.9737 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009077/0.7263, allocations: 0.5741 MB / 0.9742 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.7266, allocations: 195.6 kB / 0.9744 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.7267, allocations: 11.95 kB / 0.9744 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.7271, allocations: 51.2 kB / 0.9745 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.7272, allocations: 13.95 kB / 0.9745 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.7272, allocations: 11.81 kB / 0.9745 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001058/0.7283, allocations: 0.6597 MB / 0.9751 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7283, allocations: 0 / 0.9751 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001055/0.7294, allocations: 186.9 kB / 0.9753 GB, free: 5.531 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.0001434/0.7295, allocations: 102.3 kB / 0.9754 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009948/0.7305, allocations: 0.5773 MB / 0.976 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7305, allocations: 0 / 0.976 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.7309, allocations: 249.4 kB / 0.9762 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008803/0.7318, allocations: 178.5 kB / 0.9764 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.7339, allocations: 1.693 MB / 0.978 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.7345, allocations: 1.003 MB / 0.979 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004037/0.7349, allocations: 184.5 kB / 0.9792 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.735, allocations: 39.44 kB / 0.9792 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.735, allocations: 0 / 0.9792 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of Templates: time 0.01291/0.748, allocations: 8.096 MB / 0.9871 GB, free: 9.957 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches