Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_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.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 132 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.001242/0.001242, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.406 MB / 190.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.292/2.292, allocations: 390.3 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5566, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003332/0.5599, allocations: 2.735 MB / 0.9524 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.563, allocations: 2.789 MB / 0.9551 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.5632, allocations: 8.25 kB / 0.9551 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.5644, allocations: 497.4 kB / 0.9556 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.5649, allocations: 255 kB / 0.9558 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007863/0.5656, allocations: 395.3 kB / 0.9562 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.5669, allocations: 1.528 MB / 0.9577 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.5672, allocations: 147.2 kB / 0.9578 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.5677, allocations: 467 kB / 0.9583 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005162/0.5682, allocations: 413.9 kB / 0.9587 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.435e-05/0.5683, allocations: 52.19 kB / 0.9587 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.5685, allocations: 52.94 kB / 0.9588 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.5687, allocations: 257.6 kB / 0.959 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.5691, allocations: 373.1 kB / 0.9594 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.5697, allocations: 0.9037 MB / 0.9603 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5697, allocations: 0 / 0.9603 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5697, allocations: 0 / 0.9603 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.5697, allocations: 0 / 0.9603 GB, free: 1.695 MB / 0.7169 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.001753/0.5715, allocations: 1.147 MB / 0.9614 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.5715, allocations: 14.06 kB / 0.9614 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.5716, allocations: 63.16 kB / 0.9614 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.5717, allocations: 82.03 kB / 0.9615 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.5725, allocations: 0.6457 MB / 0.9622 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.5725, allocations: 27.41 kB / 0.9622 GB, free: 220 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.5726, allocations: 38.78 kB / 0.9622 GB, free: 208 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.5731, allocations: 379 kB / 0.9626 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5731, allocations: 1.094 kB / 0.9626 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.5732, allocations: 11.19 kB / 0.9626 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.5732, allocations: 9.25 kB / 0.9626 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.5736, allocations: 235.7 kB / 0.9628 GB, free: 15.82 MB / 0.7325 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.003641/0.5773, allocations: 2.456 MB / 0.9652 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.5783, allocations: 403.1 kB / 0.9656 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.5785, allocations: 137.9 kB / 0.9657 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.5785, allocations: 2.125 kB / 0.9657 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.5786, allocations: 35.69 kB / 0.9658 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.5786, allocations: 0 / 0.9658 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0009502/0.5795, allocations: 0.5299 MB / 0.9663 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.5796, allocations: 57.72 kB / 0.9664 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.5808, allocations: 0.9341 MB / 0.9673 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.5809, allocations: 39.23 kB / 0.9673 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.5811, allocations: 304.9 kB / 0.9676 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/0.5812, allocations: 68.67 kB / 0.9677 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.5813, allocations: 126.2 kB / 0.9678 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5815, allocations: 384 kB / 0.9681 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.5819, allocations: 237 kB / 0.9684 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.5825, allocations: 0.4994 MB / 0.9689 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/0.5835, allocations: 0.7049 MB / 0.9695 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5835, allocations: 2.781 kB / 0.9695 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001249/0.5847, allocations: 0.8142 MB / 0.9703 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5848, allocations: 12.61 kB / 0.9704 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.5848, allocations: 9.312 kB / 0.9704 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.585, allocations: 52.45 kB / 0.9704 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.5855, allocations: 138.1 kB / 0.9705 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.5868, allocations: 1.539 MB / 0.972 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007263/0.5875, allocations: 125.6 kB / 0.9722 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.5876, allocations: 27.84 kB / 0.9722 GB, free: 8.438 MB / 0.7325 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.0003567/0.5879, allocations: 344.4 kB / 0.9725 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.588, allocations: 66.66 kB / 0.9726 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.5881, allocations: 67.62 kB / 0.9727 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5881, allocations: 2.25 kB / 0.9727 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5882, allocations: 0 / 0.9727 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5882, allocations: 8.062 kB / 0.9727 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.5888, allocations: 0.5725 MB / 0.9732 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5888, allocations: 3.938 kB / 0.9732 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.5891, allocations: 50.36 kB / 0.9733 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.5892, allocations: 37.05 kB / 0.9733 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.5893, allocations: 10.83 kB / 0.9733 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.5903, allocations: 1.53 MB / 0.9748 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5903, allocations: 3.938 kB / 0.9748 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/0.5911, allocations: 0.5673 MB / 0.9754 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.5913, allocations: 200.3 kB / 0.9756 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.324e-05/0.5914, allocations: 7.125 kB / 0.9756 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.5918, allocations: 45.48 kB / 0.9756 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.5919, allocations: 18.8 kB / 0.9756 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.5919, allocations: 2.469 kB / 0.9756 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008246/0.5927, allocations: 0.6636 MB / 0.9763 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5927, allocations: 1.219 kB / 0.9763 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006526/0.5934, allocations: 181.5 kB / 0.9765 GB, free: 5.098 MB / 0.7325 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.001013/0.5944, allocations: 1.13 MB / 0.9776 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000885/0.5953, allocations: 0.5959 MB / 0.9781 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5953, allocations: 0 / 0.9781 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.5957, allocations: 246.5 kB / 0.9784 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/0.5965, allocations: 183 kB / 0.9785 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00807/0.6045, allocations: 7.034 MB / 0.9854 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.6051, allocations: 1.01 MB / 0.9864 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004133/0.6056, allocations: 180.5 kB / 0.9866 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.6059, allocations: 203.4 kB / 0.9868 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of SimCode: time 5.21e-07/0.6059, allocations: 0 / 0.9868 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.6423, allocations: 14.04 MB / 1 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.943/9.585, allocations: 9.625 kB / 1 GB, free: 12.52 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches