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.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.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.001424/0.001424, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 196 kB / 16.79 MB, free: 6.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.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.385/2.385, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6575, allocations: 140.3 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.005746/0.6633, allocations: 2.782 MB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006121/0.6695, allocations: 2.806 MB / 0.955 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.6699, allocations: 8.375 kB / 0.955 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.6721, allocations: 463.6 kB / 0.9555 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009187/0.6731, allocations: 234.1 kB / 0.9557 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.6746, allocations: 339.1 kB / 0.956 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002833/0.6775, allocations: 1.722 MB / 0.9577 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.6778, allocations: 122.6 kB / 0.9578 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000956/0.6788, allocations: 412.1 kB / 0.9582 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008407/0.6797, allocations: 399 kB / 0.9586 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.6798, allocations: 24.41 kB / 0.9586 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.6799, allocations: 25.09 kB / 0.9586 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.6803, allocations: 229.3 kB / 0.9589 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.6808, allocations: 338.1 kB / 0.9592 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009061/0.6817, allocations: 0.7427 MB / 0.9599 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6818, allocations: 0 / 0.9599 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6818, allocations: 1.219 kB / 0.9599 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.6818, allocations: 0 / 0.9599 GB, free: 1.957 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.003296/0.6851, allocations: 1.141 MB / 0.961 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6852, allocations: 8.844 kB / 0.961 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.6854, allocations: 78.66 kB / 0.9611 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.6869, allocations: 0.642 MB / 0.9617 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.6869, allocations: 31.47 kB / 0.9618 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.687, allocations: 42.72 kB / 0.9618 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008969/0.688, allocations: 375.8 kB / 0.9622 GB, free: 292 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.688, allocations: 0 / 0.9622 GB, free: 292 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.6881, allocations: 10.84 kB / 0.9622 GB, free: 284 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.6881, allocations: 10.22 kB / 0.9622 GB, free: 280 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006664/0.6888, allocations: 231.2 kB / 0.9624 GB, free: 172 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.006682/0.6955, allocations: 2.464 MB / 0.9648 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.6974, allocations: 398.1 kB / 0.9652 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.6979, allocations: 137.4 kB / 0.9653 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.6979, allocations: 6.062 kB / 0.9653 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.698, allocations: 36.31 kB / 0.9654 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.786e-06/0.698, allocations: 0 / 0.9654 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001794/0.6998, allocations: 0.5375 MB / 0.9659 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.6999, allocations: 52.56 kB / 0.9659 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/0.7022, allocations: 0.9378 MB / 0.9668 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/0.7023, allocations: 36.77 kB / 0.9669 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.7027, allocations: 300 kB / 0.9672 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.7029, allocations: 73.05 kB / 0.9672 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.7032, allocations: 122.1 kB / 0.9674 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000247/0.7035, allocations: 388.5 kB / 0.9677 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.7042, allocations: 240.1 kB / 0.968 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009888/0.7052, allocations: 0.5088 MB / 0.9685 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.7067, allocations: 0.6888 MB / 0.9691 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.7068, allocations: 2.438 kB / 0.9691 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002528/0.7093, allocations: 0.8125 MB / 0.9699 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.7094, allocations: 9.594 kB / 0.9699 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.7094, allocations: 9.625 kB / 0.9699 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.7098, allocations: 56.62 kB / 0.97 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009476/0.7107, allocations: 142.5 kB / 0.9701 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.7127, allocations: 1.435 MB / 0.9715 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.7145, allocations: 127.6 kB / 0.9717 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.7147, allocations: 27.47 kB / 0.9717 GB, free: 8.875 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.001071/0.7158, allocations: 340.4 kB / 0.972 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.7161, allocations: 67.08 kB / 0.9721 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.7164, allocations: 75.09 kB / 0.9721 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.7164, allocations: 6.406 kB / 0.9721 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.7164, allocations: 0 / 0.9721 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.7165, allocations: 1.188 kB / 0.9721 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.7179, allocations: 0.5783 MB / 0.9727 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.718, allocations: 1.469 kB / 0.9727 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.7185, allocations: 45.52 kB / 0.9728 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.7188, allocations: 48.77 kB / 0.9728 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/0.7189, allocations: 12.23 kB / 0.9728 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.7209, allocations: 1.413 MB / 0.9742 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7209, allocations: 0 / 0.9742 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.7224, allocations: 0.5668 MB / 0.9747 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.723, allocations: 204.6 kB / 0.9749 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.7232, allocations: 7.625 kB / 0.9749 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/0.724, allocations: 50.86 kB / 0.975 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.7241, allocations: 13.94 kB / 0.975 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.7241, allocations: 7.844 kB / 0.975 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001708/0.7258, allocations: 0.6593 MB / 0.9757 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7259, allocations: 0 / 0.9757 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001343/0.7272, allocations: 187.1 kB / 0.9758 GB, free: 5.633 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.000204/0.7274, allocations: 111.2 kB / 0.9759 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.7292, allocations: 0.5771 MB / 0.9765 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7292, allocations: 0 / 0.9765 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006034/0.7298, allocations: 246.7 kB / 0.9767 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.7316, allocations: 172.4 kB / 0.9769 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.736, allocations: 1.732 MB / 0.9786 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009555/0.7369, allocations: 0.9986 MB / 0.9796 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.7373, allocations: 39.44 kB / 0.9796 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.7373, allocations: 0 / 0.9796 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of Templates: time 0.0294/0.7667, allocations: 12.27 MB / 0.9916 GB, free: 5.98 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches