Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_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.007119/0.007119, allocations: 102.3 kB / 15.73 MB, free: 6.5 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.001827/0.001827, allocations: 199 kB / 16.68 MB, free: 6.375 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.695/2.695, allocations: 469.4 MB / 0.7421 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.89 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2599, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.00377/0.2637, allocations: 2.733 MB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003866/0.2676, allocations: 2.784 MB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.2679, allocations: 7.938 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.2692, allocations: 0.4903 MB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005522/0.2698, allocations: 254.9 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009649/0.2708, allocations: 405.5 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.2724, allocations: 1.524 MB / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.2726, allocations: 150.2 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/0.2733, allocations: 478.7 kB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005715/0.2739, allocations: 386.6 kB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.491e-05/0.274, allocations: 51.94 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.2742, allocations: 52 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.2745, allocations: 263.3 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004493/0.2749, allocations: 378.2 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008462/0.2758, allocations: 0.9186 MB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2758, allocations: 0 / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2758, allocations: 0 / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.2758, allocations: 0 / 1.23 GB, free: 3.824 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.002171/0.278, allocations: 1.159 MB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.278, allocations: 8.031 kB / 1.231 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.319e-05/0.2781, allocations: 58.73 kB / 1.231 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.2782, allocations: 84.42 kB / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.2794, allocations: 0.6881 MB / 1.232 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.2794, allocations: 28.94 kB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.2795, allocations: 40.31 kB / 1.232 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.2801, allocations: 378.6 kB / 1.233 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2801, allocations: 0 / 1.233 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.2801, allocations: 12 kB / 1.233 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.2801, allocations: 8 kB / 1.233 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.2806, allocations: 229.5 kB / 1.233 GB, free: 1.031 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.003676/0.2842, allocations: 2.455 MB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.2853, allocations: 410.4 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.2855, allocations: 132.8 kB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.2855, allocations: 4 kB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2855, allocations: 34.56 kB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.2855, allocations: 3.938 kB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0009706/0.2865, allocations: 0.5357 MB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.2866, allocations: 55.41 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.2878, allocations: 0.9376 MB / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.2878, allocations: 37.7 kB / 1.237 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.2881, allocations: 304.8 kB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/0.2882, allocations: 71.41 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.2883, allocations: 122.2 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.2885, allocations: 386.7 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.2889, allocations: 240.9 kB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.2894, allocations: 0.4975 MB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00083/0.2902, allocations: 0.6946 MB / 1.24 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.2903, allocations: 4 kB / 1.24 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00124/0.2915, allocations: 0.8166 MB / 1.24 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2915, allocations: 13.72 kB / 1.24 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.2916, allocations: 8 kB / 1.24 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.2917, allocations: 61.34 kB / 1.241 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.2922, allocations: 139.8 kB / 1.241 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.2934, allocations: 1.538 MB / 1.242 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006753/0.2941, allocations: 119.4 kB / 1.242 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.2942, allocations: 28 kB / 1.242 GB, free: 6.73 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.0003325/0.2945, allocations: 345.9 kB / 1.243 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.2947, allocations: 75.56 kB / 1.243 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.2948, allocations: 70 kB / 1.243 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2948, allocations: 7.984 kB / 1.243 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2948, allocations: 0 / 1.243 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2948, allocations: 0 / 1.243 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.2954, allocations: 0.5714 MB / 1.243 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2954, allocations: 3.938 kB / 1.243 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.2957, allocations: 47.91 kB / 1.243 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.2958, allocations: 48.81 kB / 1.243 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.2959, allocations: 8 kB / 1.243 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.297, allocations: 1.531 MB / 1.245 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.297, allocations: 0 / 1.245 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.2977, allocations: 0.5698 MB / 1.245 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.2981, allocations: 204.6 kB / 1.246 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.2982, allocations: 16.14 kB / 1.246 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.2986, allocations: 51.86 kB / 1.246 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.2986, allocations: 11.98 kB / 1.246 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.2987, allocations: 8 kB / 1.246 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008321/0.2995, allocations: 0.659 MB / 1.246 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2995, allocations: 0 / 1.246 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006331/0.3001, allocations: 183.9 kB / 1.247 GB, free: 2.094 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.001053/0.3012, allocations: 1.12 MB / 1.248 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009031/0.3021, allocations: 0.5779 MB / 1.248 GB, free: 364 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3021, allocations: 0.6875 kB / 1.248 GB, free: 364 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.3025, allocations: 248.6 kB / 1.248 GB, free: 104 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4877/0.7902, allocations: 159.7 kB / 1.249 GB, free: 30.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008435/0.7987, allocations: 6.945 MB / 1.255 GB, free: 27.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.7992, allocations: 1.003 MB / 1.256 GB, free: 27.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003882/0.7996, allocations: 188.4 kB / 1.257 GB, free: 27.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.7999, allocations: 202.5 kB / 1.257 GB, free: 27.16 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.7999, allocations: 0 / 1.257 GB, free: 27.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.8379, allocations: 14.22 MB / 1.271 GB, free: 26.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.738/10.58, allocations: 1.656 kB / 1.271 GB, free: 26.15 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches