Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.008006/0.008006, allocations: 99.75 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.002025/0.002026, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.314/1.314, 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.219/2.219, allocations: 390.3 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.89 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6782, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003194/0.6815, allocations: 2.743 MB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003223/0.6847, allocations: 2.78 MB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.6849, allocations: 8.375 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.6862, allocations: 493.3 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.6868, allocations: 257.9 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/0.6877, allocations: 399.5 kB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.6894, allocations: 1.54 MB / 1.095 GB, free: 300 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.6897, allocations: 149.1 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006657/0.6903, allocations: 473.4 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.6909, allocations: 392.7 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.691, allocations: 47.16 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.6911, allocations: 49.19 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.6915, allocations: 268.5 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004251/0.6919, allocations: 376.6 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.6929, allocations: 0.9126 MB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.6929, allocations: 4 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.233e-06/0.693, allocations: 0 / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.693, allocations: 1.312 kB / 1.098 GB, free: 15.27 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.00217/0.6951, allocations: 1.162 MB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6952, allocations: 13.12 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.284e-05/0.6953, allocations: 62.23 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.6954, allocations: 79.25 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.6966, allocations: 0.6767 MB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.6966, allocations: 32.14 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-05/0.6967, allocations: 38.78 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.6973, allocations: 375.3 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6974, allocations: 1.094 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.6974, allocations: 14.94 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.6974, allocations: 9.5 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.6979, allocations: 233.4 kB / 1.101 GB, free: 13.7 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.004109/0.702, allocations: 2.454 MB / 1.103 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.703, allocations: 400.4 kB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.7033, allocations: 136.9 kB / 1.104 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.7033, allocations: 2.781 kB / 1.104 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.7033, allocations: 35.94 kB / 1.104 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 3.166e-06/0.7033, allocations: 3.984 kB / 1.104 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001066/0.7044, allocations: 0.539 MB / 1.104 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.7045, allocations: 54.3 kB / 1.104 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.7058, allocations: 0.9424 MB / 1.105 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.7058, allocations: 35.83 kB / 1.105 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.7061, allocations: 304.6 kB / 1.105 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.7062, allocations: 70.41 kB / 1.105 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.7064, allocations: 122.6 kB / 1.106 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.7065, allocations: 384 kB / 1.106 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.707, allocations: 239.1 kB / 1.106 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.7076, allocations: 0.5025 MB / 1.107 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008286/0.7084, allocations: 0.6997 MB / 1.107 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.7084, allocations: 2.469 kB / 1.107 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001237/0.7097, allocations: 0.8182 MB / 1.108 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7097, allocations: 9.828 kB / 1.108 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.7097, allocations: 9.844 kB / 1.108 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.7099, allocations: 49.73 kB / 1.108 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.7104, allocations: 145.1 kB / 1.108 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.7117, allocations: 1.539 MB / 1.11 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/0.7125, allocations: 126.8 kB / 1.11 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.7125, allocations: 27.19 kB / 1.11 GB, free: 7.551 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.0003932/0.7129, allocations: 341.4 kB / 1.11 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.713, allocations: 67.11 kB / 1.11 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.7132, allocations: 70.45 kB / 1.11 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7132, allocations: 5.938 kB / 1.11 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7132, allocations: 1.625 kB / 1.11 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7132, allocations: 0.7031 kB / 1.11 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008176/0.714, allocations: 0.5819 MB / 1.111 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.714, allocations: 4.438 kB / 1.111 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.7143, allocations: 50.44 kB / 1.111 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001471/0.7145, allocations: 49.2 kB / 1.111 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.7145, allocations: 9.969 kB / 1.111 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.7157, allocations: 1.523 MB / 1.113 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7157, allocations: 0.75 kB / 1.113 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008423/0.7166, allocations: 0.5697 MB / 1.113 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.7169, allocations: 202.7 kB / 1.113 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.717, allocations: 13.83 kB / 1.113 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.7174, allocations: 50.97 kB / 1.113 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.7175, allocations: 13.72 kB / 1.113 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.7175, allocations: 8 kB / 1.113 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009731/0.7185, allocations: 0.6584 MB / 1.114 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7185, allocations: 1.312 kB / 1.114 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006857/0.7192, allocations: 185.5 kB / 1.114 GB, free: 4.695 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.001083/0.7203, allocations: 1.119 MB / 1.115 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009402/0.7212, allocations: 0.5715 MB / 1.116 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.7212, allocations: 0 / 1.116 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.7216, allocations: 256.3 kB / 1.116 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.7225, allocations: 173 kB / 1.116 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009011/0.7315, allocations: 6.927 MB / 1.123 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/0.7322, allocations: 1.004 MB / 1.124 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004746/0.7327, allocations: 182.5 kB / 1.124 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.733, allocations: 203 kB / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of SimCode: time 8.91e-07/0.733, allocations: 0 / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04048/0.7735, allocations: 14.21 MB / 1.138 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.812/10.59, allocations: 7.828 kB / 1.138 GB, free: 12.05 MB / 0.8887 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_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_ConductorMultiLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches