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.001029/0.001029, allocations: 91.3 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.008624/0.008624, allocations: 171.7 kB / 16.26 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.442/1.442, 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.443/2.443, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.7482, allocations: 142.4 MB / 0.955 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002692/0.751, allocations: 2.423 MB / 0.9574 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003883/0.7549, allocations: 2.753 MB / 0.9601 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.7554, allocations: 7.875 kB / 0.9601 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.7571, allocations: 465.7 kB / 0.9605 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007485/0.7578, allocations: 236.4 kB / 0.9608 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.7589, allocations: 333 kB / 0.9611 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.7613, allocations: 1.721 MB / 0.9628 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.7616, allocations: 125.5 kB / 0.9629 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000879/0.7625, allocations: 397.8 kB / 0.9633 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008884/0.7634, allocations: 394.4 kB / 0.9636 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.7636, allocations: 25.09 kB / 0.9637 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.7638, allocations: 23.66 kB / 0.9637 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.7641, allocations: 228.6 kB / 0.9639 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006542/0.7647, allocations: 350.6 kB / 0.9642 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.7658, allocations: 0.8687 MB / 0.9651 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7658, allocations: 3.984 kB / 0.9651 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7658, allocations: 0.7188 kB / 0.9651 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.551e-05/0.7659, allocations: 0 / 0.9651 GB, free: 0.625 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.002578/0.7685, allocations: 1.021 MB / 0.9661 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7685, allocations: 9.906 kB / 0.9661 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.7688, allocations: 77.62 kB / 0.9662 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.7701, allocations: 0.6503 MB / 0.9668 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.7702, allocations: 31.06 kB / 0.9668 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.7703, allocations: 42.31 kB / 0.9669 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.771, allocations: 381.7 kB / 0.9672 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.771, allocations: 1.031 kB / 0.9672 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.771, allocations: 13.91 kB / 0.9672 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.7711, allocations: 6.156 kB / 0.9672 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.7715, allocations: 243.4 kB / 0.9675 GB, free: 14.9 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.004405/0.776, allocations: 2.473 MB / 0.9699 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.7771, allocations: 401.2 kB / 0.9703 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.7774, allocations: 144.9 kB / 0.9704 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.7774, allocations: 5.969 kB / 0.9704 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.7774, allocations: 31.56 kB / 0.9705 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.245e-06/0.7774, allocations: 1.125 kB / 0.9705 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.00117/0.7786, allocations: 0.5386 MB / 0.971 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.7786, allocations: 56.47 kB / 0.971 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.7807, allocations: 0.9424 MB / 0.972 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.7808, allocations: 36.27 kB / 0.972 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.7811, allocations: 299.7 kB / 0.9723 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.7813, allocations: 72.5 kB / 0.9723 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.7814, allocations: 69.27 kB / 0.9724 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.7816, allocations: 384.2 kB / 0.9728 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.7821, allocations: 242.7 kB / 0.973 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.7827, allocations: 0.5017 MB / 0.9735 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009/0.7836, allocations: 0.7024 MB / 0.9742 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.7836, allocations: 2.219 kB / 0.9742 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001428/0.785, allocations: 0.8205 MB / 0.975 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7851, allocations: 11 kB / 0.975 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.7851, allocations: 13.45 kB / 0.975 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.7853, allocations: 52.23 kB / 0.9751 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.7859, allocations: 140.1 kB / 0.9752 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.7872, allocations: 1.431 MB / 0.9766 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009193/0.7881, allocations: 129.6 kB / 0.9767 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.7882, allocations: 31.09 kB / 0.9767 GB, free: 7.641 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.0005389/0.7887, allocations: 345.2 kB / 0.9771 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.7889, allocations: 62.22 kB / 0.9771 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.7891, allocations: 71.12 kB / 0.9772 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.7891, allocations: 5.844 kB / 0.9772 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7891, allocations: 0 / 0.9772 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7891, allocations: 1.094 kB / 0.9772 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009539/0.7901, allocations: 0.5786 MB / 0.9778 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.7901, allocations: 1.312 kB / 0.9778 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.7904, allocations: 55.05 kB / 0.9778 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.7905, allocations: 39.89 kB / 0.9779 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.7906, allocations: 11.92 kB / 0.9779 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.7918, allocations: 1.418 MB / 0.9793 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7918, allocations: 1.25 kB / 0.9793 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008997/0.7927, allocations: 0.5751 MB / 0.9798 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.7931, allocations: 208.2 kB / 0.98 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.7932, allocations: 4 kB / 0.98 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.7937, allocations: 51.91 kB / 0.9801 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/0.7938, allocations: 11.98 kB / 0.9801 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.7938, allocations: 4 kB / 0.9801 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001159/0.795, allocations: 0.6668 MB / 0.9807 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.31e-07/0.795, allocations: 0 / 0.9807 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009092/0.7959, allocations: 179.8 kB / 0.9809 GB, free: 3.754 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.0001571/0.7961, allocations: 103.2 kB / 0.981 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.7972, allocations: 0.5825 MB / 0.9816 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.7972, allocations: 0.6875 kB / 0.9816 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.7975, allocations: 252.1 kB / 0.9818 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.7985, allocations: 170.7 kB / 0.982 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.8012, allocations: 1.802 MB / 0.9837 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.8019, allocations: 1.018 MB / 0.9847 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004845/0.8024, allocations: 184.5 kB / 0.9849 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.8026, allocations: 39.44 kB / 0.985 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of SimCode: time 1.103e-06/0.8026, allocations: 0 / 0.985 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of Templates: time 0.01449/0.8171, allocations: 7.975 MB / 0.9927 GB, free: 7.672 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