Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_10_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.001525/0.001525, allocations: 108 kB / 15.61 MB, free: 152 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.001567/0.001567, allocations: 193.9 kB / 16.53 MB, free: 6.66 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 71.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5095, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003726/0.5132, allocations: 2.745 MB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003406/0.5166, allocations: 2.783 MB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.5168, allocations: 4 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.5181, allocations: 0.4903 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.5185, allocations: 246.9 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.5193, allocations: 403 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.5207, allocations: 1.528 MB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.5209, allocations: 134.3 kB / 1.026 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.5214, allocations: 470.8 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.5219, allocations: 410.6 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.464e-05/0.522, allocations: 48 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.5221, allocations: 56 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.5224, allocations: 259.3 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.5227, allocations: 378.2 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.5234, allocations: 0.9034 MB / 1.028 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5234, allocations: 4 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5234, allocations: 0 / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.5234, allocations: 0 / 1.028 GB, free: 7.613 MB / 0.7794 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.001891/0.5253, allocations: 1.144 MB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.5254, allocations: 8.031 kB / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/0.5254, allocations: 62.73 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.5256, allocations: 80 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/0.5264, allocations: 0.6486 MB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.5265, allocations: 28.94 kB / 1.03 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.5265, allocations: 40.31 kB / 1.03 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.527, allocations: 374.7 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5271, allocations: 11.92 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.5271, allocations: 11.98 kB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.5271, allocations: 8 kB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.5275, allocations: 229.5 kB / 1.031 GB, free: 4.859 MB / 0.7794 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.003278/0.5308, allocations: 2.455 MB / 1.033 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/0.5317, allocations: 402.4 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.5319, allocations: 132.8 kB / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.5319, allocations: 0 / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.532, allocations: 38.56 kB / 1.033 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.532, allocations: 4 kB / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009074/0.5329, allocations: 0.5354 MB / 1.034 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.5329, allocations: 55.41 kB / 1.034 GB, free: 1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.534, allocations: 0.9337 MB / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.534, allocations: 37.7 kB / 1.035 GB, free: 16 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.5343, allocations: 304.4 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.5343, allocations: 71.03 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.5345, allocations: 126.1 kB / 1.035 GB, free: 15.52 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002332/0.5347, allocations: 382.7 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.5351, allocations: 240.9 kB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.5355, allocations: 0.4936 MB / 1.037 GB, free: 14.28 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.5363, allocations: 0.7118 MB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.5363, allocations: 4 kB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001102/0.5374, allocations: 0.8074 MB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5374, allocations: 16.03 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5374, allocations: 8 kB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.5376, allocations: 52.77 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.5381, allocations: 139.8 kB / 1.038 GB, free: 12.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.5392, allocations: 1.546 MB / 1.04 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/0.5398, allocations: 123.4 kB / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.5399, allocations: 31.98 kB / 1.04 GB, free: 10.57 MB / 0.795 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.0003023/0.5402, allocations: 342 kB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.5403, allocations: 67.09 kB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.5404, allocations: 70 kB / 1.04 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5404, allocations: 4 kB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.5404, allocations: 3.938 kB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5404, allocations: 0 / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.541, allocations: 0.5791 MB / 1.041 GB, free: 9.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.541, allocations: 3.938 kB / 1.041 GB, free: 9.438 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.5412, allocations: 51.89 kB / 1.041 GB, free: 9.387 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.5414, allocations: 40.83 kB / 1.041 GB, free: 9.344 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.5414, allocations: 11.98 kB / 1.041 GB, free: 9.332 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009972/0.5424, allocations: 1.515 MB / 1.043 GB, free: 7.68 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5424, allocations: 4.156 kB / 1.043 GB, free: 7.676 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.5431, allocations: 0.5726 MB / 1.043 GB, free: 7.086 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.5434, allocations: 200.3 kB / 1.043 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.5435, allocations: 7.984 kB / 1.043 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.5439, allocations: 47.86 kB / 1.043 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.5439, allocations: 15.98 kB / 1.043 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.5439, allocations: 8 kB / 1.043 GB, free: 6.793 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007952/0.5447, allocations: 0.659 MB / 1.044 GB, free: 6.141 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.352e-06/0.5448, allocations: 0 / 1.044 GB, free: 6.141 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005851/0.5453, allocations: 191.7 kB / 1.044 GB, free: 5.953 MB / 0.795 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.0009511/0.5463, allocations: 1.119 MB / 1.045 GB, free: 4.801 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008679/0.5472, allocations: 0.5984 MB / 1.046 GB, free: 4.191 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5472, allocations: 0 / 1.046 GB, free: 4.191 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.5475, allocations: 256.2 kB / 1.046 GB, free: 3.93 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/0.5483, allocations: 158.7 kB / 1.046 GB, free: 3.777 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/0.5565, allocations: 7.053 MB / 1.053 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.5571, allocations: 1.003 MB / 1.054 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004101/0.5576, allocations: 184.4 kB / 1.054 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.5579, allocations: 207.4 kB / 1.054 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.5579, allocations: 4 kB / 1.054 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.5924, allocations: 14.04 MB / 1.068 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.979/9.572, allocations: 8.781 kB / 1.068 GB, free: 13.16 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches