Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001761/0.001761, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001968/0.001968, allocations: 201 kB / 16.26 MB, free: 6.625 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.745/2.745, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 63.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7093/0.711, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004623/0.7157, allocations: 2.78 MB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004402/0.7201, allocations: 2.772 MB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.7204, allocations: 7.938 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.7217, allocations: 458.4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.7223, allocations: 239 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.7233, allocations: 359.3 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001987/0.7253, allocations: 1.559 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.7255, allocations: 138.3 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008069/0.7263, allocations: 494.7 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.727, allocations: 434.6 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.7271, allocations: 55.94 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.7272, allocations: 56 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.7275, allocations: 263.3 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.728, allocations: 374.2 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009839/0.7289, allocations: 0.8995 MB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.729, allocations: 0 / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.265e-06/0.729, allocations: 0 / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.729, allocations: 0 / 1.027 GB, free: 7.836 MB / 0.7794 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.002227/0.7312, allocations: 1.152 MB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.7313, allocations: 8.031 kB / 1.028 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.7314, allocations: 80 kB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.7325, allocations: 0.6486 MB / 1.029 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.7325, allocations: 32.94 kB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.7326, allocations: 36.38 kB / 1.029 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/0.7332, allocations: 378.8 kB / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.7333, allocations: 4 kB / 1.03 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.7333, allocations: 8 kB / 1.03 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.7333, allocations: 8 kB / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.7337, allocations: 229.5 kB / 1.03 GB, free: 5.152 MB / 0.7794 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.003898/0.7376, allocations: 2.451 MB / 1.032 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.7387, allocations: 406.5 kB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.7389, allocations: 140.7 kB / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.739, allocations: 0 / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.739, allocations: 34.56 kB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.739, allocations: 4 kB / 1.033 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001055/0.7401, allocations: 0.5321 MB / 1.033 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.7401, allocations: 55.41 kB / 1.033 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.7415, allocations: 0.9376 MB / 1.034 GB, free: 356 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.7415, allocations: 33.7 kB / 1.034 GB, free: 316 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.7418, allocations: 304.4 kB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.742, allocations: 71.09 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.7421, allocations: 126.1 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.7424, allocations: 378.7 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.7428, allocations: 240.9 kB / 1.035 GB, free: 15.19 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.7434, allocations: 0.5053 MB / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008958/0.7443, allocations: 0.6962 MB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.7443, allocations: 8 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001331/0.7456, allocations: 0.8061 MB / 1.037 GB, free: 12.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.7457, allocations: 12.16 kB / 1.037 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.7457, allocations: 15.94 kB / 1.037 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.7459, allocations: 60.75 kB / 1.037 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.7464, allocations: 135.8 kB / 1.038 GB, free: 12.69 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.7479, allocations: 1.542 MB / 1.039 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.7487, allocations: 135.4 kB / 1.039 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.7487, allocations: 24 kB / 1.039 GB, free: 10.85 MB / 0.795 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.000435/0.7492, allocations: 345.3 kB / 1.04 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.7493, allocations: 67.09 kB / 1.04 GB, free: 10.44 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.7494, allocations: 66 kB / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.7494, allocations: 4 kB / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.7494, allocations: 0 / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.7494, allocations: 4 kB / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.7502, allocations: 0.5791 MB / 1.04 GB, free: 9.727 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7502, allocations: 0 / 1.04 GB, free: 9.727 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.7505, allocations: 51.89 kB / 1.04 GB, free: 9.676 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.7506, allocations: 40.83 kB / 1.04 GB, free: 9.633 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.7506, allocations: 8 kB / 1.04 GB, free: 9.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.752, allocations: 1.527 MB / 1.042 GB, free: 7.961 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.752, allocations: 0 / 1.042 GB, free: 7.961 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000852/0.7528, allocations: 0.5661 MB / 1.042 GB, free: 7.375 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.7532, allocations: 200.3 kB / 1.043 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/0.7532, allocations: 8 kB / 1.043 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.7537, allocations: 59.83 kB / 1.043 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.7537, allocations: 7.984 kB / 1.043 GB, free: 7.086 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.7538, allocations: 4 kB / 1.043 GB, free: 7.082 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009408/0.7547, allocations: 0.6629 MB / 1.043 GB, free: 6.426 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7547, allocations: 0 / 1.043 GB, free: 6.426 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006685/0.7554, allocations: 183.8 kB / 1.044 GB, free: 6.246 MB / 0.795 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.0001655/0.7556, allocations: 115.6 kB / 1.044 GB, free: 6.121 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.7566, allocations: 0.6084 MB / 1.044 GB, free: 5.504 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7566, allocations: 0 / 1.044 GB, free: 5.504 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.757, allocations: 246.5 kB / 1.044 GB, free: 5.25 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008594/0.7579, allocations: 173.5 kB / 1.045 GB, free: 5.082 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.7604, allocations: 1.702 MB / 1.046 GB, free: 3.352 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.7612, allocations: 1.006 MB / 1.047 GB, free: 2.316 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004699/0.7617, allocations: 180.5 kB / 1.047 GB, free: 2.141 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.7618, allocations: 35.44 kB / 1.047 GB, free: 2.109 MB / 0.795 GB Notification: Performance of SimCode: time 3.807e-06/0.7618, allocations: 0 / 1.047 GB, free: 2.109 MB / 0.795 GB Notification: Performance of Templates: time 0.01684/0.7786, allocations: 8.399 MB / 1.056 GB, free: 9.828 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches