Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_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.004104/0.004104, allocations: 99.56 kB / 15.73 MB, free: 6.48 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.001105/0.001105, allocations: 193.4 kB / 16.68 MB, free: 6.363 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.687/2.687, allocations: 469.4 MB / 0.7422 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.256, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003653/0.2597, allocations: 2.733 MB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00365/0.2633, allocations: 2.772 MB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.2636, allocations: 7.938 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.2649, allocations: 0.498 MB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.2654, allocations: 254.9 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000902/0.2663, allocations: 399.9 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.2678, allocations: 1.536 MB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2681, allocations: 142.2 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006318/0.2687, allocations: 474.9 kB / 1.228 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.2693, allocations: 394.6 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.59e-05/0.2694, allocations: 44 kB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.2695, allocations: 52 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.2697, allocations: 271.3 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.2701, allocations: 374.2 kB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007766/0.2709, allocations: 0.9108 MB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2709, allocations: 0 / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2709, allocations: 0 / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.2709, allocations: 0 / 1.23 GB, free: 3.801 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.002048/0.273, allocations: 1.167 MB / 1.231 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.273, allocations: 8.031 kB / 1.231 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.2731, allocations: 62.73 kB / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2733, allocations: 80.42 kB / 1.232 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.2743, allocations: 0.6843 MB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.2743, allocations: 28.94 kB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.2744, allocations: 36.38 kB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.2749, allocations: 382.6 kB / 1.233 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2749, allocations: 0 / 1.233 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.275, allocations: 8 kB / 1.233 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.275, allocations: 8 kB / 1.233 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.2753, allocations: 233.5 kB / 1.233 GB, free: 1.004 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.003414/0.2788, allocations: 2.451 MB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009644/0.2797, allocations: 414.4 kB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.28, allocations: 136.8 kB / 1.236 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.28, allocations: 4 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.28, allocations: 42.5 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.28, allocations: 0 / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0009117/0.2809, allocations: 0.5318 MB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.281, allocations: 51.41 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2821, allocations: 0.9376 MB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.2821, allocations: 41.7 kB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.2824, allocations: 304.8 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.2825, allocations: 67.42 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.2826, allocations: 122.2 kB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2828, allocations: 390.6 kB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.2831, allocations: 244.8 kB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.2836, allocations: 0.4936 MB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.2844, allocations: 0.705 MB / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2844, allocations: 0 / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00117/0.2855, allocations: 0.8199 MB / 1.24 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2856, allocations: 9.562 kB / 1.24 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.2856, allocations: 8 kB / 1.24 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.2858, allocations: 52.81 kB / 1.241 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.2862, allocations: 143.7 kB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.2874, allocations: 1.531 MB / 1.242 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.288, allocations: 127.6 kB / 1.242 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.2881, allocations: 24 kB / 1.242 GB, free: 6.703 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.00031/0.2884, allocations: 347.9 kB / 1.243 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/0.2885, allocations: 71.47 kB / 1.243 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.2886, allocations: 66 kB / 1.243 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2886, allocations: 4 kB / 1.243 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2886, allocations: 3.984 kB / 1.243 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2886, allocations: 0 / 1.243 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.2892, allocations: 0.5869 MB / 1.243 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2892, allocations: 0 / 1.243 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.2895, allocations: 47.91 kB / 1.243 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.2896, allocations: 48.75 kB / 1.243 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.2896, allocations: 8 kB / 1.243 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.2907, allocations: 1.527 MB / 1.245 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2907, allocations: 3.938 kB / 1.245 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.2914, allocations: 0.5662 MB / 1.245 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.2917, allocations: 204.6 kB / 1.246 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.2918, allocations: 11.92 kB / 1.246 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.2922, allocations: 47.92 kB / 1.246 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.2922, allocations: 11.92 kB / 1.246 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.2923, allocations: 12 kB / 1.246 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007945/0.2931, allocations: 0.659 MB / 1.246 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2931, allocations: 0 / 1.246 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005886/0.2937, allocations: 183.9 kB / 1.247 GB, free: 2.07 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.0009541/0.2946, allocations: 1.127 MB / 1.248 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008032/0.2954, allocations: 0.5695 MB / 1.248 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2954, allocations: 0 / 1.248 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.2958, allocations: 248.2 kB / 1.248 GB, free: 84 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4757/0.7714, allocations: 165.6 kB / 1.249 GB, free: 30.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0077/0.7792, allocations: 6.937 MB / 1.255 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.7795, allocations: 1.019 MB / 1.256 GB, free: 27.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003446/0.7799, allocations: 179.9 kB / 1.257 GB, free: 27.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.7801, allocations: 207.1 kB / 1.257 GB, free: 27.09 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.7801, allocations: 4 kB / 1.257 GB, free: 27.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/0.818, allocations: 14.21 MB / 1.271 GB, free: 26.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.481/10.3, allocations: 3.719 kB / 1.271 GB, free: 26.09 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches