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.001452/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001831/0.001831, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.33/2.33, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7017/0.703, allocations: 140.4 MB / 0.9489 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004921/0.7079, allocations: 3.754 MB / 0.9526 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004034/0.712, allocations: 2.538 MB / 0.955 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007257/0.7128, allocations: 17.31 kB / 0.9551 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009113/0.7137, allocations: 218.4 kB / 0.9553 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.7153, allocations: 464.6 kB / 0.9557 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.7167, allocations: 469.7 kB / 0.9562 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.7187, allocations: 1.612 MB / 0.9577 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.719, allocations: 136 kB / 0.9579 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009128/0.72, allocations: 392.7 kB / 0.9582 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009776/0.721, allocations: 0.4947 MB / 0.9587 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.7212, allocations: 33.97 kB / 0.9588 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.7215, allocations: 36.47 kB / 0.9588 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000427/0.7219, allocations: 323.7 kB / 0.9591 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000931/0.7229, allocations: 433.3 kB / 0.9595 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009852/0.7239, allocations: 0.8852 MB / 0.9604 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7239, allocations: 3.938 kB / 0.9604 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.72e-07/0.7239, allocations: 0 / 0.9604 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.877e-05/0.7239, allocations: 0 / 0.9604 GB, free: 0.8203 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.002266/0.7262, allocations: 1.25 MB / 0.9616 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.7262, allocations: 9.219 kB / 0.9616 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.7265, allocations: 103.5 kB / 0.9617 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.7277, allocations: 0.6371 MB / 0.9623 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.7277, allocations: 37.12 kB / 0.9624 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-05/0.7278, allocations: 66.36 kB / 0.9624 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/0.7285, allocations: 403.1 kB / 0.9628 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.7285, allocations: 0 / 0.9628 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.7285, allocations: 16.44 kB / 0.9628 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.7286, allocations: 7.688 kB / 0.9628 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.729, allocations: 220.6 kB / 0.963 GB, free: 14.88 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.002984/0.732, allocations: 2.506 MB / 0.9655 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.7334, allocations: 485 kB / 0.966 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.7337, allocations: 153.1 kB / 0.9661 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.7337, allocations: 6.984 kB / 0.9661 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.7337, allocations: 44.23 kB / 0.9661 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.7337, allocations: 0.7188 kB / 0.9662 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002197/0.7359, allocations: 1.198 MB / 0.9673 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.736, allocations: 54.06 kB / 0.9674 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.7372, allocations: 0.9253 MB / 0.9683 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.7373, allocations: 40.33 kB / 0.9683 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.7375, allocations: 366.3 kB / 0.9687 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.7376, allocations: 110 kB / 0.9688 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.7379, allocations: 174.8 kB / 0.9689 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.7381, allocations: 396.4 kB / 0.9693 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.7384, allocations: 224.2 kB / 0.9695 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/0.7391, allocations: 0.6231 MB / 0.9701 GB, free: 9.176 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.003073/0.7421, allocations: 1.762 MB / 0.9719 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.7422, allocations: 4.25 kB / 0.9719 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001514/0.7437, allocations: 0.9059 MB / 0.9727 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7437, allocations: 14.66 kB / 0.9728 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.7437, allocations: 14.09 kB / 0.9728 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.7439, allocations: 45.31 kB / 0.9728 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/0.7446, allocations: 214.1 kB / 0.973 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.7457, allocations: 1.357 MB / 0.9743 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/0.7466, allocations: 49.89 kB / 0.9744 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.7467, allocations: 51.08 kB / 0.9744 GB, free: 5.883 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.0004017/0.7471, allocations: 300.9 kB / 0.9747 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.7472, allocations: 78.22 kB / 0.9748 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.7473, allocations: 78.91 kB / 0.9749 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7473, allocations: 3.156 kB / 0.9749 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.7474, allocations: 5 kB / 0.9749 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.7474, allocations: 3.984 kB / 0.9749 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.7491, allocations: 1.137 MB / 0.976 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7491, allocations: 2.094 kB / 0.976 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.7495, allocations: 90.56 kB / 0.9761 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.7496, allocations: 32.52 kB / 0.9761 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.7497, allocations: 7.438 kB / 0.9761 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009641/0.7506, allocations: 1.333 MB / 0.9774 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.7506, allocations: 1.344 kB / 0.9774 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.7515, allocations: 0.6579 MB / 0.9781 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.7518, allocations: 197.4 kB / 0.9783 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.444e-05/0.7519, allocations: 8.219 kB / 0.9783 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.7524, allocations: 21.95 kB / 0.9783 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.7524, allocations: 30.28 kB / 0.9783 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.7525, allocations: 6.469 kB / 0.9783 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009588/0.7534, allocations: 0.625 MB / 0.9789 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7534, allocations: 0 / 0.9789 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008319/0.7543, allocations: 208 kB / 0.9791 GB, free: 1.848 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.0001325/0.7544, allocations: 111.2 kB / 0.9792 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.7556, allocations: 0.6372 MB / 0.9799 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7556, allocations: 0 / 0.9799 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.7559, allocations: 270 kB / 0.9801 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009331/0.7569, allocations: 177 kB / 0.9803 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.7595, allocations: 1.861 MB / 0.9821 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.76, allocations: 0.984 MB / 0.9831 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000422/0.7604, allocations: 153.8 kB / 0.9832 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.7606, allocations: 51.44 kB / 0.9833 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of SimCode: time 8.12e-07/0.7606, allocations: 4 kB / 0.9833 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.01555/0.7761, allocations: 8.555 MB / 0.9916 GB, free: 5.066 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