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.007701/0.007701, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001872/0.001872, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.331/2.331, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.17 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2365, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003736/0.2402, allocations: 2.735 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003843/0.2441, allocations: 2.777 MB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.2444, allocations: 11.88 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.2459, allocations: 0.498 MB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006062/0.2466, allocations: 262.9 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.2476, allocations: 395 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.2493, allocations: 1.534 MB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.2495, allocations: 134.3 kB / 1.096 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007053/0.2503, allocations: 478.8 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006039/0.2509, allocations: 390.6 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.251, allocations: 48 kB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.2512, allocations: 48 kB / 1.097 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.2515, allocations: 275.3 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004844/0.252, allocations: 378.1 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008772/0.2529, allocations: 0.9069 MB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2529, allocations: 7.938 kB / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2529, allocations: 0 / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.458e-05/0.2529, allocations: 0 / 1.098 GB, free: 7.125 MB / 0.8575 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.002261/0.2552, allocations: 1.171 MB / 1.099 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2552, allocations: 8.031 kB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.2553, allocations: 58.72 kB / 1.099 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.2554, allocations: 80.47 kB / 1.099 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2565, allocations: 0.6804 MB / 1.1 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.2566, allocations: 24.94 kB / 1.1 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.2567, allocations: 44.38 kB / 1.1 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.2572, allocations: 374.7 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2572, allocations: 3.938 kB / 1.1 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.2573, allocations: 8 kB / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2573, allocations: 4 kB / 1.1 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.2577, allocations: 241.5 kB / 1.101 GB, free: 4.32 MB / 0.8575 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.00348/0.2612, allocations: 2.443 MB / 1.103 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/0.2621, allocations: 418.3 kB / 1.103 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.2624, allocations: 136.8 kB / 1.104 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.2624, allocations: 0 / 1.104 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.2624, allocations: 42.88 kB / 1.104 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.062e-06/0.2624, allocations: 0 / 1.104 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009133/0.2633, allocations: 0.5318 MB / 1.104 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.2634, allocations: 55.41 kB / 1.104 GB, free: 468 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.2645, allocations: 0.9377 MB / 1.105 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.2646, allocations: 37.69 kB / 1.105 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.2648, allocations: 300.8 kB / 1.105 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.2649, allocations: 79.3 kB / 1.105 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.265, allocations: 122.2 kB / 1.106 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2652, allocations: 382.7 kB / 1.106 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.2655, allocations: 236.9 kB / 1.106 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.266, allocations: 0.5014 MB / 1.107 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/0.2668, allocations: 0.7039 MB / 1.107 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.2668, allocations: 4 kB / 1.107 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001228/0.268, allocations: 0.816 MB / 1.108 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2681, allocations: 8 kB / 1.108 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.2681, allocations: 12 kB / 1.108 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.2683, allocations: 56.83 kB / 1.108 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.2687, allocations: 139.7 kB / 1.108 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.2699, allocations: 1.539 MB / 1.11 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006557/0.2706, allocations: 131.5 kB / 1.11 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.2706, allocations: 28 kB / 1.11 GB, free: 10.01 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.0003318/0.271, allocations: 341.4 kB / 1.11 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2711, allocations: 67.52 kB / 1.11 GB, free: 9.602 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.2712, allocations: 66 kB / 1.11 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2712, allocations: 0 / 1.11 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2712, allocations: 4 kB / 1.11 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2712, allocations: 0 / 1.11 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.2718, allocations: 0.583 MB / 1.111 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2718, allocations: 3.938 kB / 1.111 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.2721, allocations: 47.95 kB / 1.111 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.2722, allocations: 36.83 kB / 1.111 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.2722, allocations: 11.98 kB / 1.111 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.2733, allocations: 1.531 MB / 1.113 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2733, allocations: 4 kB / 1.113 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.274, allocations: 0.572 MB / 1.113 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.2743, allocations: 200.7 kB / 1.113 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/0.2744, allocations: 8 kB / 1.113 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.2748, allocations: 43.86 kB / 1.113 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.2749, allocations: 19.89 kB / 1.113 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.2749, allocations: 7.984 kB / 1.113 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007917/0.2757, allocations: 0.6629 MB / 1.114 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2757, allocations: 0 / 1.114 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006005/0.2763, allocations: 179.8 kB / 1.114 GB, free: 5.398 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.0009877/0.2773, allocations: 1.117 MB / 1.115 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008465/0.2781, allocations: 0.583 MB / 1.116 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2782, allocations: 0 / 1.116 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.2785, allocations: 250.4 kB / 1.116 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/0.2793, allocations: 172.4 kB / 1.116 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008249/0.2876, allocations: 6.944 MB / 1.123 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.2882, allocations: 1.007 MB / 1.124 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003888/0.2886, allocations: 176.5 kB / 1.124 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.2889, allocations: 211.4 kB / 1.124 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/0.2889, allocations: 0 / 1.124 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.3244, allocations: 14.21 MB / 1.138 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.844/10.17, allocations: 9.734 kB / 1.138 GB, free: 12.56 MB / 0.9044 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