Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_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.005855/0.005856, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.00114/0.00114, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.22/2.22, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.91 kB / 0.9504 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7292, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003171/0.7324, allocations: 2.728 MB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003213/0.7357, allocations: 2.787 MB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.7358, allocations: 12.5 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.7372, allocations: 499.3 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.7376, allocations: 254.9 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008741/0.7385, allocations: 398 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.7402, allocations: 1.541 MB / 1.095 GB, free: 340 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.7404, allocations: 135.1 kB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006315/0.741, allocations: 471.6 kB / 1.096 GB, free: 128 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005548/0.7416, allocations: 388.7 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.7417, allocations: 45.94 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.7418, allocations: 49.25 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.7421, allocations: 272.8 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.7426, allocations: 368.7 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009482/0.7435, allocations: 0.9208 MB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.7435, allocations: 0 / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7435, allocations: 0 / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.7436, allocations: 5.094 kB / 1.098 GB, free: 15.32 MB / 0.8731 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.002124/0.7457, allocations: 1.144 MB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7457, allocations: 9.281 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.945e-05/0.7458, allocations: 57.45 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.746, allocations: 78.5 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.7471, allocations: 0.6689 MB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.7472, allocations: 28.42 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/0.7472, allocations: 49.58 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.7479, allocations: 375.5 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7479, allocations: 4.938 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.7479, allocations: 7.109 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.7479, allocations: 9.781 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.7484, allocations: 241 kB / 1.101 GB, free: 13.78 MB / 0.8731 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.00392/0.7523, allocations: 2.45 MB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.7534, allocations: 400.2 kB / 1.103 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.7536, allocations: 138.2 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.7536, allocations: 9.125 kB / 1.103 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.7537, allocations: 32.72 kB / 1.104 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.7537, allocations: 1.281 kB / 1.104 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001/0.7547, allocations: 0.5257 MB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.7547, allocations: 58.39 kB / 1.104 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.756, allocations: 0.9467 MB / 1.105 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.756, allocations: 35.02 kB / 1.105 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.7563, allocations: 296.4 kB / 1.105 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/0.7564, allocations: 70.41 kB / 1.105 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.7566, allocations: 122.7 kB / 1.106 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7567, allocations: 378.9 kB / 1.106 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.7571, allocations: 239.6 kB / 1.106 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.7577, allocations: 0.5072 MB / 1.107 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008341/0.7585, allocations: 0.6904 MB / 1.107 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.7586, allocations: 2.625 kB / 1.107 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001297/0.7599, allocations: 0.8171 MB / 1.108 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.7599, allocations: 9.219 kB / 1.108 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.7599, allocations: 10 kB / 1.108 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/0.7601, allocations: 53.95 kB / 1.108 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.7606, allocations: 142.2 kB / 1.108 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.7619, allocations: 1.545 MB / 1.11 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/0.7626, allocations: 126 kB / 1.11 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.7627, allocations: 29 kB / 1.11 GB, free: 7.645 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.0003705/0.7631, allocations: 340 kB / 1.11 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.7632, allocations: 62.2 kB / 1.11 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.7633, allocations: 71.69 kB / 1.11 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7633, allocations: 2.078 kB / 1.11 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7633, allocations: 4.062 kB / 1.11 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7633, allocations: 1.781 kB / 1.11 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007964/0.7641, allocations: 0.5777 MB / 1.111 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7641, allocations: 4.531 kB / 1.111 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.7644, allocations: 49.52 kB / 1.111 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.7646, allocations: 42.16 kB / 1.111 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.7646, allocations: 6.438 kB / 1.111 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.7658, allocations: 1.53 MB / 1.113 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7658, allocations: 6.391 kB / 1.113 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008026/0.7666, allocations: 0.567 MB / 1.113 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.767, allocations: 201.7 kB / 1.113 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.7671, allocations: 10.42 kB / 1.113 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.7675, allocations: 49.11 kB / 1.113 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.7676, allocations: 15.31 kB / 1.113 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.7676, allocations: 3.375 kB / 1.113 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000965/0.7685, allocations: 0.6637 MB / 1.114 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7686, allocations: 0 / 1.114 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007024/0.7693, allocations: 177.8 kB / 1.114 GB, free: 4.812 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.001086/0.7704, allocations: 1.119 MB / 1.115 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009259/0.7713, allocations: 0.569 MB / 1.116 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7713, allocations: 0 / 1.116 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.7717, allocations: 251.9 kB / 1.116 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/0.7725, allocations: 169.9 kB / 1.116 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009657/0.7822, allocations: 6.916 MB / 1.123 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.7829, allocations: 1 MB / 1.124 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004445/0.7834, allocations: 182.3 kB / 1.124 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.7837, allocations: 208.1 kB / 1.124 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of SimCode: time 2.8e-07/0.7837, allocations: 1.656 kB / 1.124 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/0.8251, allocations: 14.19 MB / 1.138 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.783/10.61, allocations: 12.48 kB / 1.138 GB, free: 12.2 MB / 0.8887 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches