Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ConductorMultiLayer,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.004448/0.004448, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.001292/0.001292, allocations: 202.1 kB / 16.68 MB, free: 5.965 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 / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 60.09 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2659, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.00392/0.2699, allocations: 2.739 MB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003856/0.2738, allocations: 2.78 MB / 1.226 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.2739, allocations: 7.938 kB / 1.226 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.2753, allocations: 0.4903 MB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.2758, allocations: 258.9 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.2766, allocations: 383 kB / 1.227 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.2783, allocations: 1.543 MB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.2786, allocations: 142.2 kB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.2792, allocations: 474.8 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.2797, allocations: 390.6 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.175e-05/0.2798, allocations: 48 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.2799, allocations: 51.94 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.2803, allocations: 275.2 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.2807, allocations: 374.2 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008825/0.2815, allocations: 0.9108 MB / 1.231 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2816, allocations: 4 kB / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2816, allocations: 0 / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2816, allocations: 0 / 1.231 GB, free: 3.488 MB / 0.9825 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.001988/0.2836, allocations: 1.167 MB / 1.232 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2836, allocations: 8.031 kB / 1.232 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.119e-05/0.2837, allocations: 58.73 kB / 1.232 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.2838, allocations: 84.42 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009911/0.2848, allocations: 0.6843 MB / 1.233 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.2849, allocations: 24.94 kB / 1.233 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.2849, allocations: 44.38 kB / 1.233 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.2855, allocations: 378.6 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2855, allocations: 0 / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.2856, allocations: 12 kB / 1.233 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.2856, allocations: 4 kB / 1.233 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.286, allocations: 237.5 kB / 1.233 GB, free: 0.6875 MB / 0.9825 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.003586/0.2896, allocations: 2.447 MB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2906, allocations: 406.5 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.2909, allocations: 132.8 kB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2909, allocations: 0 / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2909, allocations: 46.5 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.2909, allocations: 0 / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001005/0.292, allocations: 0.5265 MB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.292, allocations: 55.41 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.2932, allocations: 0.9376 MB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.2932, allocations: 41.64 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.2935, allocations: 304.8 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.063e-05/0.2936, allocations: 71.42 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.2938, allocations: 122.2 kB / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.294, allocations: 382.7 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.2944, allocations: 244.8 kB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.2949, allocations: 0.5014 MB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000865/0.2958, allocations: 0.6968 MB / 1.24 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2958, allocations: 4 kB / 1.24 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001237/0.2971, allocations: 0.8164 MB / 1.241 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2971, allocations: 10.03 kB / 1.241 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.2971, allocations: 12 kB / 1.241 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.2973, allocations: 56.75 kB / 1.241 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.2978, allocations: 139.7 kB / 1.241 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.2991, allocations: 1.542 MB / 1.243 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.2998, allocations: 127.6 kB / 1.243 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.2998, allocations: 28 kB / 1.243 GB, free: 6.387 MB / 0.9981 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.0003538/0.3002, allocations: 341.3 kB / 1.243 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3003, allocations: 71.47 kB / 1.243 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3004, allocations: 70 kB / 1.243 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3004, allocations: 0 / 1.243 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3004, allocations: 4 kB / 1.243 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3004, allocations: 3.984 kB / 1.243 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.3011, allocations: 0.5714 MB / 1.244 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/0.3011, allocations: 11.92 kB / 1.244 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.3014, allocations: 43.91 kB / 1.244 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.3015, allocations: 44.81 kB / 1.244 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.3016, allocations: 8 kB / 1.244 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.3028, allocations: 1.527 MB / 1.245 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3028, allocations: 0 / 1.245 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007989/0.3036, allocations: 0.5739 MB / 1.246 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.3038, allocations: 204.6 kB / 1.246 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/0.3039, allocations: 11.98 kB / 1.246 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.3043, allocations: 43.86 kB / 1.246 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.3044, allocations: 19.92 kB / 1.246 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3044, allocations: 4 kB / 1.246 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008684/0.3053, allocations: 0.6668 MB / 1.247 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3053, allocations: 0 / 1.247 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005937/0.3059, allocations: 179.9 kB / 1.247 GB, free: 1.762 MB / 0.9981 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.001109/0.307, allocations: 1.125 MB / 1.248 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008831/0.3079, allocations: 0.572 MB / 1.249 GB, free: 28 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3079, allocations: 4 kB / 1.249 GB, free: 24 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.4616/0.7695, allocations: 241.9 kB / 1.249 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/0.7705, allocations: 167.9 kB / 1.249 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007445/0.778, allocations: 6.943 MB / 1.256 GB, free: 27.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.7783, allocations: 1.011 MB / 1.257 GB, free: 26.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003415/0.7787, allocations: 183.3 kB / 1.257 GB, free: 26.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.779, allocations: 205 kB / 1.257 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/0.779, allocations: 0 / 1.257 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0425/0.8215, allocations: 14.2 MB / 1.271 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.9, allocations: 15.23 kB / 1.271 GB, free: 25.85 MB / 0.9981 GB (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches