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.001371/0.001371, allocations: 108 kB / 15.61 MB, free: 152 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.00166/0.00166, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.378/2.378, allocations: 390.2 MB / 0.6646 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.89 kB / 0.8125 GB, free: 14.52 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7295/0.7309, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003971/0.7349, allocations: 3.721 MB / 0.9532 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.7384, allocations: 2.501 MB / 0.9556 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000412/0.7388, allocations: 17.66 kB / 0.9557 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006812/0.7395, allocations: 250.6 kB / 0.9559 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008076/0.7404, allocations: 0.4904 MB / 0.9564 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.7415, allocations: 0.5367 MB / 0.9569 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.7428, allocations: 1.366 MB / 0.9582 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.7431, allocations: 147.5 kB / 0.9584 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.7436, allocations: 443.9 kB / 0.9588 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006059/0.7442, allocations: 492.6 kB / 0.9593 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.7443, allocations: 53.06 kB / 0.9593 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.7445, allocations: 57.84 kB / 0.9594 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.7449, allocations: 343.7 kB / 0.9597 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.7453, allocations: 452.7 kB / 0.9601 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008107/0.7461, allocations: 0.9044 MB / 0.961 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7461, allocations: 0 / 0.961 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7461, allocations: 0.7188 kB / 0.961 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.7461, allocations: 3.938 kB / 0.961 GB, free: 0.7422 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.002103/0.7482, allocations: 1.248 MB / 0.9622 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7483, allocations: 9.75 kB / 0.9622 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.7485, allocations: 102.8 kB / 0.9623 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009243/0.7494, allocations: 0.6412 MB / 0.963 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.7494, allocations: 45.59 kB / 0.963 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.454e-05/0.7495, allocations: 61.45 kB / 0.9631 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.7502, allocations: 400.3 kB / 0.9635 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7502, allocations: 0 / 0.9635 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.7502, allocations: 19.59 kB / 0.9635 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.7503, allocations: 8.719 kB / 0.9635 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.7507, allocations: 227.5 kB / 0.9637 GB, free: 14.77 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.002997/0.7537, allocations: 2.498 MB / 0.9661 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.755, allocations: 492.6 kB / 0.9666 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.7553, allocations: 148.7 kB / 0.9667 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.7553, allocations: 3.172 kB / 0.9668 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.7553, allocations: 44.94 kB / 0.9668 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.935e-06/0.7553, allocations: 0 / 0.9668 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002068/0.7574, allocations: 1.207 MB / 0.968 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.7575, allocations: 55.56 kB / 0.968 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.7587, allocations: 0.9276 MB / 0.9689 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.7587, allocations: 36.77 kB / 0.969 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.759, allocations: 367.7 kB / 0.9693 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.7591, allocations: 115.9 kB / 0.9694 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.7594, allocations: 167.7 kB / 0.9696 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.7596, allocations: 392.6 kB / 0.97 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.76, allocations: 227.8 kB / 0.9702 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006954/0.7607, allocations: 0.6271 MB / 0.9708 GB, free: 9.066 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.003047/0.7638, allocations: 1.77 MB / 0.9725 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.7638, allocations: 4.062 kB / 0.9725 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001404/0.7652, allocations: 0.9016 MB / 0.9734 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.7652, allocations: 14.56 kB / 0.9734 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.7652, allocations: 13.81 kB / 0.9734 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.7654, allocations: 54.45 kB / 0.9735 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.7661, allocations: 204.6 kB / 0.9737 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.7673, allocations: 1.464 MB / 0.9751 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.7681, allocations: 38.33 kB / 0.9751 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.7682, allocations: 43.72 kB / 0.9752 GB, free: 5.688 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.0003991/0.7686, allocations: 304.8 kB / 0.9755 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.7687, allocations: 79.28 kB / 0.9756 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.7688, allocations: 78.25 kB / 0.9756 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7688, allocations: 6.562 kB / 0.9756 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.7688, allocations: 1.281 kB / 0.9756 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.7689, allocations: 3.984 kB / 0.9756 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.7705, allocations: 1.13 MB / 0.9767 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7705, allocations: 5.562 kB / 0.9767 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.7709, allocations: 86.38 kB / 0.9768 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.7711, allocations: 32.64 kB / 0.9769 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.7711, allocations: 7.812 kB / 0.9769 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.7722, allocations: 1.443 MB / 0.9783 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.7722, allocations: 1.344 kB / 0.9783 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/0.7732, allocations: 0.6664 MB / 0.9789 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.7734, allocations: 196 kB / 0.9791 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.34e-05/0.7736, allocations: 15.98 kB / 0.9791 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.774, allocations: 15.98 kB / 0.9791 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.774, allocations: 23.91 kB / 0.9792 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.7741, allocations: 8 kB / 0.9792 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008394/0.7749, allocations: 0.62 MB / 0.9798 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7749, allocations: 4 kB / 0.9798 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007916/0.7757, allocations: 204 kB / 0.98 GB, free: 1.422 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.0001295/0.7759, allocations: 115.6 kB / 0.9801 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.7771, allocations: 0.6771 MB / 0.9808 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7771, allocations: 4 kB / 0.9808 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.7774, allocations: 266.5 kB / 0.981 GB, free: 340 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.7783, allocations: 167.5 kB / 0.9812 GB, free: 172 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.7807, allocations: 1.63 MB / 0.9828 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.7813, allocations: 0.9836 MB / 0.9837 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003911/0.7817, allocations: 153.8 kB / 0.9839 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.7818, allocations: 51.44 kB / 0.9839 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.7818, allocations: 0 / 0.9839 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of Templates: time 0.01684/0.7987, allocations: 8.982 MB / 0.9927 GB, free: 4.414 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