Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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.ConductorMultiLayer3,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_11_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.006841/0.006841, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001753/0.001753, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.839/2.839, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003102/0.003102, allocations: 71.8 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3479, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004065/0.352, allocations: 2.739 MB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004071/0.3561, allocations: 2.772 MB / 1.226 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.3563, allocations: 11.94 kB / 1.226 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.3579, allocations: 494.1 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.3585, allocations: 254.8 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.3595, allocations: 406.9 kB / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00182/0.3613, allocations: 1.532 MB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.3615, allocations: 138.2 kB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.3622, allocations: 474.8 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.3627, allocations: 382.6 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.023e-05/0.3628, allocations: 48 kB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3629, allocations: 51.94 kB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.3633, allocations: 279.2 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.3637, allocations: 370.2 kB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009638/0.3647, allocations: 0.9147 MB / 1.231 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3647, allocations: 4 kB / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3647, allocations: 0 / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3647, allocations: 0 / 1.231 GB, free: 3.488 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.002019/0.3667, allocations: 1.163 MB / 1.232 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3667, allocations: 8.031 kB / 1.232 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.039e-05/0.3668, allocations: 58.72 kB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.367, allocations: 88.42 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.368, allocations: 0.6803 MB / 1.233 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.368, allocations: 32.94 kB / 1.233 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/0.3681, allocations: 36.38 kB / 1.233 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.3687, allocations: 378.6 kB / 1.233 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3687, allocations: 0 / 1.233 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.3687, allocations: 12 kB / 1.233 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3687, allocations: 8 kB / 1.233 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.3691, allocations: 229.5 kB / 1.233 GB, free: 0.6953 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.003784/0.3729, allocations: 2.455 MB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.374, allocations: 410.4 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.3742, allocations: 136.8 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3742, allocations: 0 / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3743, allocations: 34.56 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 3.507e-06/0.3743, allocations: 0 / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001054/0.3753, allocations: 0.5398 MB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3754, allocations: 55.41 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.3767, allocations: 0.9415 MB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.3767, allocations: 33.7 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.377, allocations: 296.8 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.752e-05/0.3771, allocations: 79.41 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.3773, allocations: 126.2 kB / 1.238 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002131/0.3775, allocations: 378.7 kB / 1.239 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.3779, allocations: 240.9 kB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.3785, allocations: 0.5052 MB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008637/0.3794, allocations: 0.6964 MB / 1.24 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3794, allocations: 4 kB / 1.24 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001248/0.3806, allocations: 0.8138 MB / 1.241 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3807, allocations: 15.98 kB / 1.241 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.3807, allocations: 8 kB / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.3809, allocations: 57.36 kB / 1.241 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.3814, allocations: 135.8 kB / 1.241 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.3827, allocations: 1.538 MB / 1.243 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006505/0.3834, allocations: 123.4 kB / 1.243 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.3834, allocations: 31.98 kB / 1.243 GB, free: 6.387 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.0004058/0.3839, allocations: 346.8 kB / 1.243 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.384, allocations: 71.47 kB / 1.243 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.3841, allocations: 70.09 kB / 1.243 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.3841, allocations: 4 kB / 1.243 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3841, allocations: 0 / 1.243 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3841, allocations: 0 / 1.243 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.3848, allocations: 0.5753 MB / 1.244 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3848, allocations: 3.938 kB / 1.244 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.3851, allocations: 47.95 kB / 1.244 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.3852, allocations: 48.77 kB / 1.244 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.3853, allocations: 7.984 kB / 1.244 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.3866, allocations: 1.527 MB / 1.245 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3866, allocations: 0 / 1.245 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.3874, allocations: 0.5718 MB / 1.246 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.3876, allocations: 204.6 kB / 1.246 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.3877, allocations: 12.09 kB / 1.246 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.3881, allocations: 51.8 kB / 1.246 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.3882, allocations: 11.98 kB / 1.246 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3882, allocations: 4 kB / 1.246 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008844/0.3891, allocations: 0.6629 MB / 1.247 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3891, allocations: 0 / 1.247 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006367/0.3897, allocations: 183.9 kB / 1.247 GB, free: 1.762 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.001156/0.3909, allocations: 1.12 MB / 1.248 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009369/0.3919, allocations: 0.5788 MB / 1.249 GB, free: 28 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3919, allocations: 0 / 1.249 GB, free: 28 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.5554/0.9473, allocations: 244.8 kB / 1.249 GB, free: 29.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.9483, allocations: 167 kB / 1.249 GB, free: 29.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008019/0.9564, allocations: 6.94 MB / 1.256 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.9568, allocations: 1.014 MB / 1.257 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004056/0.9572, allocations: 178.1 kB / 1.257 GB, free: 26.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.9575, allocations: 209.1 kB / 1.257 GB, free: 26.84 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.9575, allocations: 0 / 1.257 GB, free: 26.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04643/1.004, allocations: 14.21 MB / 1.271 GB, free: 25.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.6, allocations: 8.219 kB / 1.271 GB, free: 25.83 MB / 0.9981 GB (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches