Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.005743/0.005743, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001311/0.001311, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.27 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.848/2.848, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 59.89 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2887, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.00427/0.293, allocations: 2.753 MB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004293/0.2974, allocations: 2.768 MB / 1.226 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.2977, allocations: 11.94 kB / 1.226 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.2994, allocations: 498.1 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006077/0.3, allocations: 258.8 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.3011, allocations: 402.2 kB / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.303, allocations: 1.528 MB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.3033, allocations: 144 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007458/0.304, allocations: 478.8 kB / 1.229 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.3046, allocations: 378.6 kB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-05/0.3047, allocations: 51.94 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3049, allocations: 51.94 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.3052, allocations: 279.2 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.3056, allocations: 374.2 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009848/0.3066, allocations: 0.9108 MB / 1.231 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3067, allocations: 0 / 1.231 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3067, allocations: 0 / 1.231 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3067, allocations: 0 / 1.231 GB, free: 3.465 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.002157/0.3088, allocations: 1.167 MB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.3089, allocations: 8.031 kB / 1.232 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.715e-05/0.309, allocations: 58.72 kB / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.3091, allocations: 84.42 kB / 1.232 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.3102, allocations: 0.6803 MB / 1.233 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.3102, allocations: 28.94 kB / 1.233 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.3103, allocations: 40.38 kB / 1.233 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.3109, allocations: 378.6 kB / 1.233 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.311, allocations: 0 / 1.233 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.311, allocations: 12 kB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.311, allocations: 4 kB / 1.233 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.3114, allocations: 237.5 kB / 1.233 GB, free: 0.668 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.003855/0.3153, allocations: 2.455 MB / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.3164, allocations: 398.4 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.3166, allocations: 136.8 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.3166, allocations: 4 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.3167, allocations: 34.56 kB / 1.236 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.3167, allocations: 3.938 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001103/0.3178, allocations: 0.5361 MB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3179, allocations: 55.41 kB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.3192, allocations: 0.9454 MB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.3192, allocations: 33.7 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.3195, allocations: 300.8 kB / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.3196, allocations: 75.42 kB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.3198, allocations: 126.2 kB / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.32, allocations: 378.7 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.3204, allocations: 240.9 kB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.321, allocations: 0.4975 MB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009064/0.3219, allocations: 0.7038 MB / 1.24 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3219, allocations: 4 kB / 1.24 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001287/0.3232, allocations: 0.8202 MB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3233, allocations: 12 kB / 1.241 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.3233, allocations: 8 kB / 1.241 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.3235, allocations: 56.77 kB / 1.241 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.324, allocations: 135.8 kB / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.3254, allocations: 1.546 MB / 1.243 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.3261, allocations: 119.4 kB / 1.243 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.3262, allocations: 28 kB / 1.243 GB, free: 6.363 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.0004248/0.3266, allocations: 345.3 kB / 1.243 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3267, allocations: 71.47 kB / 1.243 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.3269, allocations: 66 kB / 1.243 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3269, allocations: 4 kB / 1.243 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3269, allocations: 64 / 1.243 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3269, allocations: 4 kB / 1.243 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007375/0.3276, allocations: 0.5753 MB / 1.244 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3276, allocations: 3.938 kB / 1.244 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.3279, allocations: 47.95 kB / 1.244 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.3281, allocations: 40.77 kB / 1.244 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.3281, allocations: 11.98 kB / 1.244 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.3294, allocations: 1.527 MB / 1.245 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3294, allocations: 4.156 kB / 1.245 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.3302, allocations: 0.5718 MB / 1.246 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.3305, allocations: 204.6 kB / 1.246 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.3306, allocations: 11.94 kB / 1.246 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.331, allocations: 47.86 kB / 1.246 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.331, allocations: 19.97 kB / 1.246 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.331, allocations: 4 kB / 1.246 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009062/0.3319, allocations: 0.6629 MB / 1.247 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.332, allocations: 0 / 1.247 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006397/0.3326, allocations: 183.9 kB / 1.247 GB, free: 1.734 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.001189/0.3338, allocations: 1.115 MB / 1.248 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000954/0.3348, allocations: 0.5751 MB / 1.249 GB, free: 4 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3348, allocations: 0 / 1.249 GB, free: 4 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.4873/0.8221, allocations: 245 kB / 1.249 GB, free: 29.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/0.8231, allocations: 176.4 kB / 1.249 GB, free: 29.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008046/0.8312, allocations: 6.936 MB / 1.256 GB, free: 27.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.8316, allocations: 1.016 MB / 1.257 GB, free: 26.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003975/0.832, allocations: 187 kB / 1.257 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.8322, allocations: 203.2 kB / 1.257 GB, free: 26.85 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.8322, allocations: 0 / 1.257 GB, free: 26.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04582/0.8781, allocations: 14.21 MB / 1.271 GB, free: 25.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.53, allocations: 6.859 kB / 1.271 GB, free: 25.83 MB / 0.9981 GB (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches