Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_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.007298/0.007298, allocations: 99.58 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.002029/0.002029, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.522/1.522, 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 12.0.0-master/package.mo): time 2.781/2.781, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.62 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2728, allocations: 162.2 MB / 1.241 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003947/0.2768, allocations: 2.751 MB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003871/0.2807, allocations: 2.78 MB / 1.247 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.2808, allocations: 7.938 kB / 1.247 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.2821, allocations: 0.4903 MB / 1.247 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.2826, allocations: 258.8 kB / 1.248 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000849/0.2835, allocations: 391 kB / 1.248 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.2853, allocations: 1.54 MB / 1.249 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.2855, allocations: 130.3 kB / 1.25 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.2861, allocations: 474.8 kB / 1.25 GB, free: 476 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005461/0.2866, allocations: 382.6 kB / 1.25 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.919e-05/0.2867, allocations: 48 kB / 1.25 GB, free: 44 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2869, allocations: 48.05 kB / 1.25 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.2872, allocations: 283.1 kB / 1.251 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.2876, allocations: 374.2 kB / 1.251 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008967/0.2885, allocations: 0.9069 MB / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2885, allocations: 0 / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2885, allocations: 0 / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.2885, allocations: 0 / 1.252 GB, free: 14.44 MB / 0.9825 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.00203/0.2906, allocations: 1.171 MB / 1.253 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2906, allocations: 12.03 kB / 1.253 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.896e-05/0.2907, allocations: 66.66 kB / 1.253 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.2908, allocations: 84.42 kB / 1.253 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.2919, allocations: 0.6726 MB / 1.254 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.2919, allocations: 28.94 kB / 1.254 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.292, allocations: 44.38 kB / 1.254 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.2926, allocations: 374.6 kB / 1.254 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2926, allocations: 3.938 kB / 1.254 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.2926, allocations: 12 kB / 1.254 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2926, allocations: 4 kB / 1.254 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.2931, allocations: 241.5 kB / 1.255 GB, free: 11.62 MB / 0.9825 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.003612/0.2967, allocations: 2.447 MB / 1.257 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2977, allocations: 410.3 kB / 1.257 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.298, allocations: 132.8 kB / 1.258 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.298, allocations: 4 kB / 1.258 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.298, allocations: 38.56 kB / 1.258 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.298, allocations: 0 / 1.258 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.00102/0.299, allocations: 0.5403 MB / 1.258 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2991, allocations: 51.41 kB / 1.258 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.3004, allocations: 0.9337 MB / 1.259 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.3004, allocations: 37.7 kB / 1.259 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.3007, allocations: 308.8 kB / 1.259 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.3008, allocations: 63.44 kB / 1.259 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.301, allocations: 134.2 kB / 1.26 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.3012, allocations: 382.7 kB / 1.26 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.3016, allocations: 232.9 kB / 1.26 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.3022, allocations: 0.5013 MB / 1.261 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.3031, allocations: 0.7059 MB / 1.261 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3031, allocations: 0 / 1.261 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001266/0.3044, allocations: 0.8175 MB / 1.262 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3044, allocations: 8 kB / 1.262 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3045, allocations: 8.781 kB / 1.262 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.3046, allocations: 56.77 kB / 1.262 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.3051, allocations: 139.8 kB / 1.262 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.3065, allocations: 1.538 MB / 1.264 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.3072, allocations: 127.4 kB / 1.264 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.3072, allocations: 28 kB / 1.264 GB, free: 1.328 MB / 0.9825 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.0003643/0.3076, allocations: 350 kB / 1.264 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3077, allocations: 67.47 kB / 1.264 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.3078, allocations: 70 kB / 1.264 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3078, allocations: 0 / 1.264 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.3078, allocations: 0 / 1.264 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3078, allocations: 0 / 1.264 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.3085, allocations: 0.5753 MB / 1.265 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3085, allocations: 7.938 kB / 1.265 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.3088, allocations: 43.95 kB / 1.265 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.3089, allocations: 48.77 kB / 1.265 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.309, allocations: 15.92 kB / 1.265 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.3102, allocations: 1.524 MB / 1.267 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3102, allocations: 3.938 kB / 1.267 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008174/0.3111, allocations: 0.5674 MB / 1.267 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.3113, allocations: 200.7 kB / 1.267 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.3114, allocations: 8 kB / 1.267 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.3118, allocations: 51.86 kB / 1.267 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.3119, allocations: 7.984 kB / 1.267 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3119, allocations: 8 kB / 1.267 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000912/0.3128, allocations: 0.659 MB / 1.268 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3128, allocations: 0 / 1.268 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000607/0.3134, allocations: 183.9 kB / 1.268 GB, free: 12.71 MB / 0.9981 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.00112/0.3146, allocations: 1.13 MB / 1.269 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000891/0.3155, allocations: 0.5704 MB / 1.27 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3155, allocations: 4.312 kB / 1.27 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.3158, allocations: 246.5 kB / 1.27 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/0.3166, allocations: 176.8 kB / 1.27 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008904/0.3256, allocations: 6.952 MB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.3262, allocations: 1.007 MB / 1.278 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003797/0.3266, allocations: 184.5 kB / 1.278 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.327, allocations: 203.4 kB / 1.278 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.327, allocations: 3.938 kB / 1.278 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04368/0.3707, allocations: 14.2 MB / 1.292 GB, free: 3.891 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.63, allocations: 20.55 kB / 1.292 GB, free: 3.875 MB / 1.014 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches