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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005023/0.005023, allocations: 106.5 kB / 15.74 MB, free: 5.578 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.001035/0.001035, allocations: 189.6 kB / 16.67 MB, free: 5.516 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.169/2.169, allocations: 390.2 MB / 0.6648 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7052, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004561/0.7098, allocations: 2.745 MB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004497/0.7144, allocations: 2.772 MB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003643/0.7148, allocations: 13.69 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.7165, allocations: 499.5 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006532/0.7172, allocations: 253.8 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.7184, allocations: 402.5 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.7206, allocations: 1.541 MB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.7208, allocations: 134 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007576/0.7216, allocations: 474.3 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.7222, allocations: 389.7 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.7223, allocations: 46.09 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.7225, allocations: 49 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.7228, allocations: 272.9 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.7232, allocations: 376.4 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.7243, allocations: 0.9089 MB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7243, allocations: 0.6562 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7243, allocations: 0 / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.7243, allocations: 4.875 kB / 1.098 GB, free: 15.26 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.002207/0.7265, allocations: 1.147 MB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.7266, allocations: 9.812 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.134e-05/0.7266, allocations: 61.97 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.7268, allocations: 81.28 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.728, allocations: 0.6734 MB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.728, allocations: 27.69 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.7281, allocations: 42.03 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.7287, allocations: 380.2 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7287, allocations: 5.031 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.7288, allocations: 10.19 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.7288, allocations: 6.406 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.7292, allocations: 231.9 kB / 1.101 GB, free: 13.71 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.004025/0.7332, allocations: 2.451 MB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.7343, allocations: 406.1 kB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.7345, allocations: 135.9 kB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.7345, allocations: 10.19 kB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.7346, allocations: 35.72 kB / 1.104 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.7346, allocations: 1.094 kB / 1.104 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001038/0.7356, allocations: 0.5283 MB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.7357, allocations: 53.73 kB / 1.104 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.7371, allocations: 0.942 MB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.7372, allocations: 35.89 kB / 1.105 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.7375, allocations: 300.3 kB / 1.105 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.7376, allocations: 65.67 kB / 1.105 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.7378, allocations: 122 kB / 1.106 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.7379, allocations: 384.4 kB / 1.106 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.7384, allocations: 240.1 kB / 1.106 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.739, allocations: 0.5054 MB / 1.107 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/0.7399, allocations: 0.6925 MB / 1.107 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.7399, allocations: 2.594 kB / 1.107 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001359/0.7413, allocations: 0.822 MB / 1.108 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.7413, allocations: 7.906 kB / 1.108 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.7413, allocations: 10.66 kB / 1.108 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.7416, allocations: 48.62 kB / 1.108 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.7421, allocations: 139.5 kB / 1.108 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.7433, allocations: 1.541 MB / 1.11 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/0.7441, allocations: 127.3 kB / 1.11 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.7442, allocations: 27.53 kB / 1.11 GB, free: 7.582 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.0004477/0.7447, allocations: 340.7 kB / 1.11 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.7448, allocations: 63.09 kB / 1.11 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.745, allocations: 74.28 kB / 1.11 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.745, allocations: 2.469 kB / 1.11 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.745, allocations: 4.062 kB / 1.11 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.745, allocations: 6.734 kB / 1.11 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009262/0.7459, allocations: 0.5734 MB / 1.111 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.7459, allocations: 8.438 kB / 1.111 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.7462, allocations: 45.64 kB / 1.111 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.7464, allocations: 45.84 kB / 1.111 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.7464, allocations: 10.78 kB / 1.111 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.7476, allocations: 1.522 MB / 1.113 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7476, allocations: 1.5 kB / 1.113 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.7484, allocations: 0.5717 MB / 1.113 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003753/0.7488, allocations: 204.7 kB / 1.113 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.749, allocations: 6.812 kB / 1.113 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.7494, allocations: 49.94 kB / 1.113 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.7495, allocations: 17.95 kB / 1.113 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.7495, allocations: 4.391 kB / 1.113 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001077/0.7506, allocations: 0.6583 MB / 1.114 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7506, allocations: 1.438 kB / 1.114 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000918/0.7515, allocations: 181.6 kB / 1.114 GB, free: 4.742 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.001071/0.7526, allocations: 1.116 MB / 1.115 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009718/0.7536, allocations: 0.5702 MB / 1.116 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7536, allocations: 1.406 kB / 1.116 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.754, allocations: 247.8 kB / 1.116 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/0.7549, allocations: 176.2 kB / 1.116 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.7653, allocations: 6.912 MB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.766, allocations: 1.011 MB / 1.124 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004832/0.7665, allocations: 181.2 kB / 1.124 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.7668, allocations: 203.6 kB / 1.124 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of SimCode: time 6.91e-07/0.7668, allocations: 0 / 1.124 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.8086, allocations: 14.2 MB / 1.138 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.77/10.58, allocations: 8.281 kB / 1.138 GB, free: 12.11 MB / 0.8887 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv","/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