Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, 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.001365/0.001366, allocations: 198.1 kB / 16.26 MB, free: 6.621 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.36/2.36, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/0.7902, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004157/0.7944, allocations: 3.75 MB / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.798, allocations: 2.502 MB / 0.9552 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.7984, allocations: 16.38 kB / 0.9552 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.799, allocations: 226.5 kB / 0.9554 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007885/0.7999, allocations: 459.2 kB / 0.9559 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.8011, allocations: 498.6 kB / 0.9563 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.8022, allocations: 1.364 MB / 0.9577 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.8025, allocations: 160 kB / 0.9578 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005714/0.803, allocations: 444.4 kB / 0.9582 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.8036, allocations: 0.5163 MB / 0.9587 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.69e-05/0.8038, allocations: 54.06 kB / 0.9588 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.8039, allocations: 57.94 kB / 0.9588 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.8042, allocations: 344.4 kB / 0.9592 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.8046, allocations: 456.7 kB / 0.9596 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007083/0.8054, allocations: 0.9002 MB / 0.9605 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8054, allocations: 0 / 0.9605 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8054, allocations: 0 / 0.9605 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.8054, allocations: 0 / 0.9605 GB, free: 0.7734 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001977/0.8074, allocations: 1.244 MB / 0.9617 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.8074, allocations: 9.594 kB / 0.9617 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.8076, allocations: 107.2 kB / 0.9618 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009285/0.8085, allocations: 0.6409 MB / 0.9624 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.8086, allocations: 38.31 kB / 0.9625 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.8087, allocations: 61.66 kB / 0.9625 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/0.8093, allocations: 403.2 kB / 0.9629 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.8093, allocations: 5.469 kB / 0.9629 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.8094, allocations: 10.66 kB / 0.9629 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.8094, allocations: 9.188 kB / 0.9629 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.8098, allocations: 227.4 kB / 0.9632 GB, free: 14.82 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.002895/0.8127, allocations: 2.496 MB / 0.9656 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.814, allocations: 491.2 kB / 0.9661 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.8143, allocations: 157.4 kB / 0.9662 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.8143, allocations: 3.484 kB / 0.9662 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.8143, allocations: 31.89 kB / 0.9663 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.8143, allocations: 3.938 kB / 0.9663 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002068/0.8164, allocations: 1.208 MB / 0.9674 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.8165, allocations: 54.69 kB / 0.9675 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.8176, allocations: 0.9245 MB / 0.9684 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.8176, allocations: 45.58 kB / 0.9684 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.8179, allocations: 362.7 kB / 0.9688 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.805e-05/0.818, allocations: 108.9 kB / 0.9689 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.8182, allocations: 167.4 kB / 0.969 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.8184, allocations: 403.7 kB / 0.9694 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.8187, allocations: 228 kB / 0.9696 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.8193, allocations: 0.6198 MB / 0.9703 GB, free: 9.121 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/0.8221, allocations: 1.758 MB / 0.972 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.8222, allocations: 9 kB / 0.972 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00137/0.8235, allocations: 0.9088 MB / 0.9729 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.8236, allocations: 11.47 kB / 0.9729 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.8236, allocations: 13.72 kB / 0.9729 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.8238, allocations: 49.7 kB / 0.9729 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/0.8244, allocations: 208.8 kB / 0.9731 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.8256, allocations: 1.477 MB / 0.9746 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/0.8264, allocations: 45.14 kB / 0.9746 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.8265, allocations: 43.23 kB / 0.9747 GB, free: 5.727 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * 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.0003485/0.8268, allocations: 300 kB / 0.9749 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.8269, allocations: 79 kB / 0.975 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.8271, allocations: 78.91 kB / 0.9751 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8271, allocations: 3.156 kB / 0.9751 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.8271, allocations: 0.6875 kB / 0.9751 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.8271, allocations: 9.234 kB / 0.9751 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.8287, allocations: 1.134 MB / 0.9762 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.8287, allocations: 0.9375 kB / 0.9762 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.8291, allocations: 85.69 kB / 0.9763 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.8292, allocations: 37.14 kB / 0.9763 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.8292, allocations: 8.75 kB / 0.9763 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009599/0.8302, allocations: 1.43 MB / 0.9777 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.8302, allocations: 2.375 kB / 0.9777 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008904/0.8311, allocations: 0.6604 MB / 0.9784 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.8314, allocations: 194.1 kB / 0.9786 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.8315, allocations: 13.11 kB / 0.9786 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.8319, allocations: 21.14 kB / 0.9786 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.832, allocations: 21.97 kB / 0.9786 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.832, allocations: 11.34 kB / 0.9786 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008064/0.8328, allocations: 0.6185 MB / 0.9792 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8328, allocations: 0 / 0.9792 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000919/0.8338, allocations: 204 kB / 0.9794 GB, free: 1.648 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.000178/0.834, allocations: 123 kB / 0.9796 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.8353, allocations: 0.6853 MB / 0.9802 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8353, allocations: 0 / 0.9802 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.8357, allocations: 266.8 kB / 0.9805 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009438/0.8367, allocations: 175.6 kB / 0.9806 GB, free: 388 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.8393, allocations: 1.861 MB / 0.9825 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.8398, allocations: 0.9875 MB / 0.9834 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003985/0.8402, allocations: 153.8 kB / 0.9836 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.8403, allocations: 51.42 kB / 0.9836 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.8404, allocations: 0 / 0.9836 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of Templates: time 0.01514/0.8555, allocations: 8.966 MB / 0.9924 GB, free: 4.406 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches