Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_latest_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.00132/0.00132, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.22 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2409, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003692/0.2446, allocations: 2.74 MB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003606/0.2482, allocations: 2.776 MB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.2484, allocations: 7.938 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.2498, allocations: 0.4941 MB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.2503, allocations: 258.9 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009163/0.2513, allocations: 397.3 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001455/0.2527, allocations: 1.528 MB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.253, allocations: 130.3 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006064/0.2536, allocations: 470.8 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.2541, allocations: 418.6 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.751e-05/0.2542, allocations: 48 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.2544, allocations: 55.94 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.2546, allocations: 267.3 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.255, allocations: 370.2 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.2557, allocations: 0.8918 MB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2557, allocations: 4 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2557, allocations: 0 / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.2557, allocations: 0 / 1.074 GB, free: 3.625 MB / 0.8262 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.001877/0.2576, allocations: 1.152 MB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2577, allocations: 12.03 kB / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.248e-05/0.2577, allocations: 62.66 kB / 1.075 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.2579, allocations: 76 kB / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.2587, allocations: 0.6525 MB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2587, allocations: 24.94 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.266e-05/0.2588, allocations: 44.38 kB / 1.076 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.2593, allocations: 378.6 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2594, allocations: 0 / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.2594, allocations: 8 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2594, allocations: 7.984 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.2598, allocations: 241.5 kB / 1.077 GB, free: 0.8594 MB / 0.8262 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.003319/0.2631, allocations: 2.451 MB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009832/0.2641, allocations: 402.3 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.2643, allocations: 146 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2644, allocations: 4 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.2644, allocations: 30.56 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.2644, allocations: 4 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0009111/0.2653, allocations: 0.528 MB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.2654, allocations: 51.41 kB / 1.08 GB, free: 13 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.2664, allocations: 0.9492 MB / 1.081 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.2665, allocations: 29.7 kB / 1.081 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.2667, allocations: 296.5 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.2668, allocations: 78.92 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.267, allocations: 122.2 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2671, allocations: 382.7 kB / 1.082 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.2675, allocations: 236.9 kB / 1.082 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.268, allocations: 0.5053 MB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/0.2687, allocations: 0.7012 MB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2687, allocations: 4 kB / 1.084 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001149/0.2699, allocations: 0.8098 MB / 1.084 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2699, allocations: 11.98 kB / 1.084 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2699, allocations: 12 kB / 1.084 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.2702, allocations: 48.83 kB / 1.084 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.2706, allocations: 140.1 kB / 1.084 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.272, allocations: 1.543 MB / 1.086 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/0.2727, allocations: 131.1 kB / 1.086 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.2728, allocations: 28 kB / 1.086 GB, free: 6.566 MB / 0.8419 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.00035/0.2731, allocations: 343.2 kB / 1.086 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.2732, allocations: 59.19 kB / 1.087 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2733, allocations: 74.06 kB / 1.087 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2733, allocations: 0 / 1.087 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2734, allocations: 0 / 1.087 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2734, allocations: 0 / 1.087 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.274, allocations: 0.583 MB / 1.087 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.274, allocations: 3.938 kB / 1.087 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.2743, allocations: 47.95 kB / 1.087 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.2744, allocations: 40.77 kB / 1.087 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.2744, allocations: 15.98 kB / 1.087 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.2755, allocations: 1.523 MB / 1.089 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2755, allocations: 0 / 1.089 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.2762, allocations: 0.5617 MB / 1.089 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.2764, allocations: 204.2 kB / 1.09 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/0.2765, allocations: 12.06 kB / 1.09 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.2769, allocations: 47.98 kB / 1.09 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.277, allocations: 11.98 kB / 1.09 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.277, allocations: 11.88 kB / 1.09 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007971/0.2778, allocations: 0.6629 MB / 1.09 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.2778, allocations: 4 kB / 1.09 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006184/0.2784, allocations: 175.8 kB / 1.09 GB, free: 1.965 MB / 0.8419 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.0009943/0.2794, allocations: 1.124 MB / 1.092 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008864/0.2803, allocations: 0.6025 MB / 1.092 GB, free: 208 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2804, allocations: 0 / 1.092 GB, free: 208 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.2807, allocations: 251.1 kB / 1.092 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.2815, allocations: 174.1 kB / 1.093 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/0.2895, allocations: 7.039 MB / 1.099 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.2901, allocations: 1.006 MB / 1.1 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004222/0.2905, allocations: 180.5 kB / 1.101 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.2908, allocations: 207.4 kB / 1.101 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.2908, allocations: 0 / 1.101 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.3261, allocations: 14.03 MB / 1.114 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.249/9.575, allocations: 8.641 kB / 1.114 GB, free: 9.184 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_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_ConductorMultiLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches