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.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.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.001716/0.001716, allocations: 113.2 kB / 16.41 MB, free: 6.492 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.002579/0.002579, allocations: 183 kB / 17.34 MB, free: 5.762 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.527/1.527, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 55.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/0.7778, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003571/0.7814, allocations: 2.741 MB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003668/0.7851, allocations: 2.782 MB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.7854, allocations: 9.875 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.7869, allocations: 0.4936 MB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.7875, allocations: 253.2 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.7887, allocations: 387.6 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.7908, allocations: 1.544 MB / 1.097 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.7911, allocations: 141.4 kB / 1.097 GB, free: 488 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009466/0.792, allocations: 472.8 kB / 1.097 GB, free: 336 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006039/0.7927, allocations: 392.7 kB / 1.098 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.895e-05/0.7928, allocations: 47.75 kB / 1.098 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.7929, allocations: 48.38 kB / 1.098 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.7932, allocations: 277.4 kB / 1.098 GB, free: 68 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004256/0.7936, allocations: 367.6 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.7948, allocations: 0.9165 MB / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7948, allocations: 0.9375 kB / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7948, allocations: 0 / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.7948, allocations: 1.062 kB / 1.099 GB, free: 15.52 MB / 0.8731 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.002381/0.7972, allocations: 1.143 MB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.7972, allocations: 8.719 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.7974, allocations: 78.48 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.7985, allocations: 0.6739 MB / 1.101 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.7986, allocations: 27.28 kB / 1.101 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.7987, allocations: 42.38 kB / 1.101 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.7994, allocations: 376 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.7994, allocations: 5.031 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.7994, allocations: 10.91 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.7995, allocations: 5.906 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.8, allocations: 232.5 kB / 1.102 GB, free: 14.04 MB / 0.8731 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.004018/0.804, allocations: 2.449 MB / 1.104 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009913/0.805, allocations: 398.8 kB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.8053, allocations: 141.5 kB / 1.105 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.8053, allocations: 6.484 kB / 1.105 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.8053, allocations: 40.34 kB / 1.105 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.8053, allocations: 0 / 1.105 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001092/0.8064, allocations: 0.5315 MB / 1.105 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.8065, allocations: 58.28 kB / 1.105 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.8079, allocations: 0.9373 MB / 1.106 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.808, allocations: 36.02 kB / 1.106 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.8083, allocations: 304.1 kB / 1.106 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.8084, allocations: 66.75 kB / 1.107 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.8086, allocations: 121.1 kB / 1.107 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.8088, allocations: 380.8 kB / 1.107 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.8092, allocations: 239 kB / 1.107 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.8097, allocations: 0.5066 MB / 1.108 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008594/0.8106, allocations: 0.6958 MB / 1.108 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.8106, allocations: 2.562 kB / 1.108 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001275/0.8119, allocations: 0.8188 MB / 1.109 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.8119, allocations: 8.25 kB / 1.109 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.812, allocations: 10.56 kB / 1.109 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.8122, allocations: 52.89 kB / 1.109 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.8126, allocations: 143 kB / 1.109 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.8139, allocations: 1.537 MB / 1.111 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.8148, allocations: 126.2 kB / 1.111 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.8148, allocations: 31.56 kB / 1.111 GB, free: 7.906 MB / 0.8731 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.0005121/0.8153, allocations: 344.6 kB / 1.111 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.8155, allocations: 62.86 kB / 1.111 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.8157, allocations: 66.97 kB / 1.111 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.8157, allocations: 1.812 kB / 1.111 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8157, allocations: 1.281 kB / 1.111 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.8158, allocations: 1.359 kB / 1.112 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008843/0.8166, allocations: 0.587 MB / 1.112 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8167, allocations: 0 / 1.112 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.8169, allocations: 54.55 kB / 1.112 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/0.8171, allocations: 48.92 kB / 1.112 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.8171, allocations: 9.547 kB / 1.112 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.8182, allocations: 1.514 MB / 1.114 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8183, allocations: 4.641 kB / 1.114 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008119/0.8191, allocations: 0.5746 MB / 1.114 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.8194, allocations: 202.3 kB / 1.114 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.8195, allocations: 8.719 kB / 1.114 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.8199, allocations: 49.78 kB / 1.114 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.82, allocations: 9.875 kB / 1.114 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.82, allocations: 8.594 kB / 1.114 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001036/0.8211, allocations: 0.6628 MB / 1.115 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.573e-06/0.8211, allocations: 0 / 1.115 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008075/0.8219, allocations: 186.3 kB / 1.115 GB, free: 5.059 MB / 0.8731 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.0001254/0.822, allocations: 102.3 kB / 1.115 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.8231, allocations: 0.5744 MB / 1.116 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8231, allocations: 0.6875 kB / 1.116 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.8235, allocations: 250.9 kB / 1.116 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009269/0.8244, allocations: 169.7 kB / 1.116 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.8269, allocations: 1.539 MB / 1.118 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/0.8276, allocations: 1.007 MB / 1.119 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.8278, allocations: 36.81 kB / 1.119 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of SimCode: time 6.51e-07/0.8278, allocations: 1.188 kB / 1.119 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of Templates: time 0.02079/0.8486, allocations: 12.37 MB / 1.131 GB, free: 1.223 MB / 0.8731 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 -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