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.004162/0.004162, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001041/0.001041, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.188/2.188, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 0.9504 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6943/0.6955, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.00329/0.6988, allocations: 2.745 MB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003824/0.7026, allocations: 2.774 MB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.703, allocations: 9.031 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.7046, allocations: 499.8 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005651/0.7052, allocations: 258.2 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.7063, allocations: 403 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.7081, allocations: 1.54 MB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.7084, allocations: 141.6 kB / 1.096 GB, free: 264 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007106/0.7091, allocations: 463.2 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.7097, allocations: 389.3 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.809e-05/0.7098, allocations: 46.44 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.71, allocations: 49.22 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.7103, allocations: 280.2 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.7107, allocations: 372.3 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009838/0.7117, allocations: 0.9095 MB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7117, allocations: 0 / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7117, allocations: 4.938 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.7117, allocations: 0 / 1.098 GB, free: 15.31 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.002179/0.7139, allocations: 1.147 MB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.714, allocations: 14.38 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.024e-05/0.7141, allocations: 61.22 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.7142, allocations: 77.62 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.7153, allocations: 0.6692 MB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.7154, allocations: 28.03 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.088e-05/0.7155, allocations: 39.28 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.7161, allocations: 378.6 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.7161, allocations: 0.5 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.7162, allocations: 16.14 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.7162, allocations: 5.156 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.7166, allocations: 236.5 kB / 1.101 GB, free: 13.77 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.003909/0.7205, allocations: 2.454 MB / 1.103 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.7215, allocations: 396.4 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.7218, allocations: 137.5 kB / 1.103 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.7218, allocations: 6.094 kB / 1.104 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.7218, allocations: 39.75 kB / 1.104 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.7218, allocations: 1.344 kB / 1.104 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.0009917/0.7228, allocations: 0.5265 MB / 1.104 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.7229, allocations: 57.88 kB / 1.104 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.7242, allocations: 0.9379 MB / 1.105 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.7243, allocations: 35.14 kB / 1.105 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.7245, allocations: 300.6 kB / 1.105 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.7247, allocations: 66.81 kB / 1.105 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.7248, allocations: 122.1 kB / 1.106 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.725, allocations: 388 kB / 1.106 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.7254, allocations: 242.6 kB / 1.106 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/0.726, allocations: 0.5027 MB / 1.107 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009136/0.7269, allocations: 0.6949 MB / 1.107 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.727, allocations: 2.375 kB / 1.107 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001377/0.7283, allocations: 0.8148 MB / 1.108 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.7284, allocations: 10.12 kB / 1.108 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.7284, allocations: 9.578 kB / 1.108 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.7286, allocations: 48.84 kB / 1.108 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.7291, allocations: 150.1 kB / 1.108 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.7304, allocations: 1.538 MB / 1.11 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008076/0.7312, allocations: 127.3 kB / 1.11 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/0.7312, allocations: 30.81 kB / 1.11 GB, free: 7.629 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.0004514/0.7317, allocations: 337.4 kB / 1.11 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.7318, allocations: 61.81 kB / 1.11 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.7319, allocations: 71.33 kB / 1.11 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7319, allocations: 10.28 kB / 1.11 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.7319, allocations: 1.25 kB / 1.11 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.732, allocations: 1.406 kB / 1.11 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.7328, allocations: 0.5779 MB / 1.111 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7328, allocations: 4.5 kB / 1.111 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.7331, allocations: 49.38 kB / 1.111 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.7332, allocations: 45.94 kB / 1.111 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.7333, allocations: 13.88 kB / 1.111 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.7343, allocations: 1.515 MB / 1.113 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7343, allocations: 0 / 1.113 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.7351, allocations: 0.5661 MB / 1.113 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.7354, allocations: 205.7 kB / 1.113 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.7355, allocations: 11.08 kB / 1.113 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.7359, allocations: 50.05 kB / 1.113 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.736, allocations: 17.44 kB / 1.113 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.736, allocations: 3.125 kB / 1.113 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009308/0.737, allocations: 0.6592 MB / 1.114 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.41e-07/0.737, allocations: 1.156 kB / 1.114 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006981/0.7377, allocations: 182.5 kB / 1.114 GB, free: 4.797 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.001024/0.7387, allocations: 1.118 MB / 1.115 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009269/0.7396, allocations: 0.5663 MB / 1.116 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7396, allocations: 1.406 kB / 1.116 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.74, allocations: 250.8 kB / 1.116 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.7409, allocations: 176.1 kB / 1.116 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009788/0.7507, allocations: 6.91 MB / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.7513, allocations: 1.012 MB / 1.124 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00044/0.7518, allocations: 180.3 kB / 1.124 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.7521, allocations: 202.5 kB / 1.124 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of SimCode: time 8.61e-07/0.7521, allocations: 0 / 1.124 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04038/0.7925, allocations: 14.2 MB / 1.138 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.69/10.48, allocations: 12.5 kB / 1.138 GB, free: 12.14 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